From 983c7b3689aa5912b9467c4af63a53db2623b3b0 Mon Sep 17 00:00:00 2001 From: mhoellein Date: Tue, 2 Oct 2018 07:35:07 +0200 Subject: [PATCH] daily autocommit --- apache2/mods-enabled/proxy_wstunnel.load | 1 + apache2/sites-available/ck.conf | 26 +++++++++++++++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) create mode 120000 apache2/mods-enabled/proxy_wstunnel.load diff --git a/apache2/mods-enabled/proxy_wstunnel.load b/apache2/mods-enabled/proxy_wstunnel.load new file mode 120000 index 00000000..8294a347 --- /dev/null +++ b/apache2/mods-enabled/proxy_wstunnel.load @@ -0,0 +1 @@ +../mods-available/proxy_wstunnel.load \ No newline at end of file diff --git a/apache2/sites-available/ck.conf b/apache2/sites-available/ck.conf index b7738add..5999d551 100644 --- a/apache2/sites-available/ck.conf +++ b/apache2/sites-available/ck.conf @@ -20,8 +20,25 @@ Allow from all - 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 @@ -30,7 +47,10 @@ 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 -- 2.43.0