proxy ok streamlit

master
forksand 4 years ago
parent 366526e48a
commit 9bbe1dc6a1

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