]> git.giorgioravera.it Git - apache.git/commitdiff
Improved home.giorgioravera.it
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 26 Dec 2022 02:47:58 +0000 (03:47 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 26 Dec 2022 02:47:58 +0000 (03:47 +0100)
sites-available/home.giorgioravera.it.conf

index f9acadb9df30e39945a054d0b325218cf85524ee..9e192bd6683610b63edd43ee706e10876b9fe1c2 100644 (file)
                #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,