]> git.hoellein.online Git - homeserver/commitdiff
daily autocommit
authormhoellein <mhoellein@freenet.de>
Tue, 2 Oct 2018 05:35:07 +0000 (07:35 +0200)
committermhoellein <mhoellein@freenet.de>
Tue, 2 Oct 2018 05:35:07 +0000 (07:35 +0200)
apache2/mods-enabled/proxy_wstunnel.load [new symlink]
apache2/sites-available/ck.conf

diff --git a/apache2/mods-enabled/proxy_wstunnel.load b/apache2/mods-enabled/proxy_wstunnel.load
new file mode 120000 (symlink)
index 0000000..8294a34
--- /dev/null
@@ -0,0 +1 @@
+../mods-available/proxy_wstunnel.load
\ No newline at end of file
index b7738addd247e3a1a2c97e614e5244be860e5324..5999d551c7101078ddc76e28ca7000547b2456d0 100644 (file)
                        Allow from all
                </Proxy>
        
-               ProxyPass / https://ck:8443/
-               ProxyPassReverse / https://ck:8443/
+               #ProxyPass / https://192.168.178.2:8443/
+               #ProxyPassReverse / https://192.168.178.2:8443/
+               ProxyPass / https://ck.moellein.homeip.net:8443/
+               ProxyPassReverse / https://ck.moellein.homeip.net:8443/
+#neu
+               AllowEncodedSlashes NoDecode
+               ProxyPreserveHost Off
+               #RewriteEngine on
+               #RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
+               #RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
+               #RewriteRule /wss/(.*) wss://127.0.0.1:8443/wss/$1 [P]
+               
+               #ProxyPass /wss wss://192.168.178.2:8443/wss
+               #ProxyPassReverse /wss wss://192.168.178.2:8443/wss
+               ProxyPass /wss wss://ck.moellein.homeip.net:8443/wss
+               ProxyPassReverse /wss wss://ck.moellein.homeip.net:8443/wss
+
+               
+#
        
                SSLProxyVerify none
                SSLProxyCheckPeerCN off
                ProxyRequests off
                ProxyPassReverseCookiePath https://192.168.178.2:8443/ https://ck.moellein.homeip.net/
                Header set Host ck.moellein.homeip.net 
-               RequestHeader set Host 192.168.178.2
+#alt, für Versionen unter 4.9
+#              RequestHeader set Host 192.168.178.2
+#Versionen über 4.9
+               RequestHeader set Origin https://ck.moellein.homeip.net:8443
                Header unset Referer
                RequestHeader unset Referer