summaryrefslogtreecommitdiffstats
path: root/deployment/apache2/bwlehrpool-remote.conf
blob: 49ff247d65a3210c7f964eadc3b2652392cebc58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<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>