proxy ok streamlit

master
forksand 3 years ago
parent 366526e48a
commit 9bbe1dc6a1

@ -29,14 +29,14 @@ ProxyVia On
SSLOptions +StrictRequire
RewriteEngine on
RewriteCond %{SERVER_NAME} =vweb3.forksand.org [OR]
RewriteCond %{SERVER_NAME} =vweb3.forksand.net
RewriteRule ^ https://vweb3.forksand.com%{REQUEST_URI} [END,NE,R=permanent]
RewriteCond %{HTTP:Upgrade} =websocket
RewriteRule /(.*) ws://localhost:8501/$1 [P]
RewriteCond %{HTTP:Upgrade} !=websocket
RewriteRule /(.*) http://localhost:8501/$1 [P]
ProxyPassReverse / http://localhost:8501
ProxyPreserveHost On
ProxyRequests off
AllowEncodedSlashes NoDecode
ProxyPass / http://localhost:8502/ nocanon
ProxyPassReverse / http://localhost:8502/
</VirtualHost>
</IfModule>
Loading…
Cancel
Save