summaryrefslogblamecommitdiffstats
path: root/deployment/apache2/bwlehrpool-remote.conf
blob: 49ff247d65a3210c7f964eadc3b2652392cebc58 (plain) (tree)


































                                                                               
<VirtualHost 10.9.8.7:80>
        ServerName bwlehrpool-remote.de
        ServerAdmin webmaster@test.de
 
        RewriteEngine On
        RewriteCond %{HTTPS} !=on
        RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
</VirtualHost>
 
 
<VirtualHost 10.9.8.7:443>
        ServerName bwlehrpool-remote.de
        ServerAdmin webmaster@test.de
 
        SSLEngine on
        SSLProtocol All -SSLv2 -SSLv3
        SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt
        SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key
 
        <Location />
                ProxyPass http://localhost:8080/guacamole/ flushpackets=on
                ProxyPassReverse http://localhost:8080/guacamole/
                ProxyPassReverseCookiePath /guacamole /
        </Location>
 
        <Location /websocket-tunnel>
                Order allow,deny
                Allow from all
                ProxyPass ws://localhost:8080/guacamole/websocket-tunnel
                ProxyPassReverse ws://localhost:8080/guacamole/websocket-tunnel
        </Location>

        SetEnvIf Request_URI "^/tunnel" dontlog
        CustomLog  /var/log/apache2/guac.log common env=!dontlog
</VirtualHost>