ich möchte gerne Znuny hinter einem Apache Reverse Proxy laufen lassen. Leider leitet der Proxy die Anfragen nicht zum Znuny weiter, bei der Konfiguration scheint was zu fehlen oder sie ist nicht vollständig. Die Anfragen kommen beim Proxy aus dem Internet an, aber er leitet einfach nicht weiter. Wenn ich die Domain lokal aufrufe geht Znuny auf, aber aus dem Internet komme ich immer auf die Apache Default Seite.
Hier die Konfigurationen:
Code: Select all
<VirtualHost *:80>
ServerName xx.xx.xx
ProxyRequests off
ProxyPreserveHost On
ProxyTimeout 300
ProxyPass /otrs http://xx.xx.xx:80/
ProxyPass /otrs-web http://x.xx.xx:80/otrs-web
ProxyPassReverse /otrs http://xx.xx.xx:80/
ProxyPassReverse /otrs-web http://xx.xx.xx:80/otrs-web
RewriteEngine on
RewriteCond %{SERVER_NAME} =xx.xx.xx/
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName xx.xx.xx
ProxyRequests off
ProxyPreserveHost On
ProxyTimeout 300
ProxyPass /otrs http://xx.xx.xx/
ProxyPass /otrs-web http://xx.xx.xx/otrs-web
ProxyPassReverse /otrs http://xx.xx.xx/
ProxyPassReverse /otrs-web http://xx.xx.xx/otrs-web
SSLCertificateFile /etc/letsencrypt/live/xx.xx.xx/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/xx.xx.xx/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
Viele Grüße
Marc