<VirtualHost *:443> ServerName www.oursite.de ServerAlias oursite.de ProxyRequests off ProxyPreserveHost On <Proxy https://www.oursite.de:8444/> Order deny,allow Allow from all </Proxy> ProxyPass /nagios ! ProxyReceiveBufferSize 4096 ErrorDocument 503 /error/message.html ProxyPass /error/ ! ProxyPass /error/message.html ! SSLEngine on SSLProxyEngine on SSLCertificateFile /etc/letsencrypt/live/www.oursite.de-0002/cert.crt SSLCertificateKeyFile /etc/letsencrypt/live/www.oursite.de-0002/private.key SSLCertificateChainFile /etc/letsencrypt/live/www.oursite.de-0002/chain.pem ProxyPass / https://localhost:8444/ ProxyPassReverse / https://localhost:8444/ ProxyPass /cometd/ wss://localhost:8444/cometd/ ProxyPassReverse /cometd wss://localhost:8444/cometd/ <Location / > Order allow,deny Allow from all </Location> </VirtualHost>
var cometURL = location.protocol + "//" + location.host+ config.contextPath + "/cometd";