summaryrefslogtreecommitdiffstats
path: root/deployment/apache2/bwlehrpool-remote.conf
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/apache2/bwlehrpool-remote.conf')
-rw-r--r--deployment/apache2/bwlehrpool-remote.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/deployment/apache2/bwlehrpool-remote.conf b/deployment/apache2/bwlehrpool-remote.conf
new file mode 100644
index 0000000..49ff247
--- /dev/null
+++ b/deployment/apache2/bwlehrpool-remote.conf
@@ -0,0 +1,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>