#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,