diff --git a/freepbx/entrypoint.sh b/freepbx/entrypoint.sh index cb2ff307c..89fc8450c 100755 --- a/freepbx/entrypoint.sh +++ b/freepbx/entrypoint.sh @@ -91,12 +91,6 @@ chown asterisk:asterisk /var/lib/asterisk/db # Setup ca bundle for pjsip ln -sf /etc/pki/tls/certs/ca-bundle.crt /etc/ssl/certs/ca-certificates.crt - -# Customized wizard page -cat > /etc/apache2/sites-available/wizard.conf < + + Redirect 301 "%{HTTP:X-Forwarded-Proto}://%{HTTP:X-Forwarded-Host}/freepbx/wizard/ + + Redirect 301 "%{HTTP:X-Forwarded-Proto}://%{HTTP:X-Forwarded-Host}/freepbx/admin/