ServerName vnc.swarmlab.io SSLEngine On SSLProxyEngine on #SSLCertificateChainFile /opt/ssl/fullchain.pem SSLCertificateFile /etc/apache2/cert/apache-selfsigned.crt SSLCertificateKeyFile /etc/apache2/cert/apache-selfsigned.key ErrorLog /var/log/apache2/vnc.log CustomLog /var/log/apache2/vnc-custom.log combined #ProxyRequests Off #AllowEncodedSlashes NoDecode SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off #SSLProxyCheckPeerExpire off ProxyPreserveHost On ProxyRequests off #AllowEncodedSlashes NoDecode # RewriteEngine On ProxyPass http://127.0.0.1:6080/ ProxyPassReverse http://127.0.0.1:6080/ ProxyPass wss://127.0.0.1:6080/$1 retry=0 ProxyPass ws://127.0.0.1:6080 ProxyPassReverse ws://127.0.0.1:6080 ProxyPass wss://127.0.0.1:6080/$1 retry=0 # vim: syntax=apache ts=4 sw=4 sts=4 sr noet