summaryrefslogtreecommitdiffstats
path: root/deployment/apache2
diff options
context:
space:
mode:
authorSteffen Ritter2023-07-17 16:22:33 +0200
committerSteffen Ritter2023-07-17 16:22:33 +0200
commita128e6ad40867b071b73632c71e7c0746b8ea6f8 (patch)
tree4ed76c16cf1bef4d15ef1900d15ec110a6944e91 /deployment/apache2
parentBump to Guacamole 1.5.0 (diff)
downloadbwlp-guacamole-ext-a128e6ad40867b071b73632c71e7c0746b8ea6f8.tar.gz
bwlp-guacamole-ext-a128e6ad40867b071b73632c71e7c0746b8ea6f8.tar.xz
bwlp-guacamole-ext-a128e6ad40867b071b73632c71e7c0746b8ea6f8.zip
Add some helpers for easy docker deployment
Diffstat (limited to 'deployment/apache2')
-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>