From: Giorgio Ravera Date: Mon, 26 Dec 2022 02:47:58 +0000 (+0100) Subject: Improved home.giorgioravera.it X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=1ee4480bffaf0278da6cb0bf75ad84b08c732ee9;p=apache.git Improved home.giorgioravera.it --- diff --git a/sites-available/home.giorgioravera.it.conf b/sites-available/home.giorgioravera.it.conf index f9acadb..9e192bd 100644 --- a/sites-available/home.giorgioravera.it.conf +++ b/sites-available/home.giorgioravera.it.conf @@ -14,20 +14,16 @@ #ProxyPass / http://home.giorgioravera.it:8123/ #ProxyPassReverse / http://home.giorgioravera.it:8123/ - RewriteEngine on - #RewriteCond %{HTTP:Upgrade} =websocket [NC] - #RewriteRule /(.*) ws://home.giorgioravera.it:8123/$1 [P,L] - #RewriteCond %{HTTP:Upgrade} !=websocket [NC] - #RewriteRule /(.*) http://home.giorgioravera.it:8123/$1 [P,L] - SSLProxyEngine on ProxyPass / https://home.giorgioravera.it/ ProxyPassReverse / https://home.giorgioravera.it/ RewriteEngine on - RewriteCond %{HTTP:Upgrade} =websocket [NC] + #RewriteCond %{HTTP:Upgrade} =websocket [NC] + #RewriteRule /(.*) ws://home.giorgioravera.it:8123/$1 [P,L] RewriteRule /(.*) wss://home.giorgioravera.it/$1 [P,L] - RewriteCond %{HTTP:Upgrade} !=websocket [NC] + #RewriteCond %{HTTP:Upgrade} !=websocket [NC] + #RewriteRule /(.*) http://home.giorgioravera.it:8123/$1 [P,L] RewriteRule /(.*) https://home.giorgioravera.it/$1 [P,L] # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,