proxy ok streamlit

master
forksand 4 years ago
parent 366526e48a
commit 9bbe1dc6a1

@ -28,15 +28,15 @@ ProxyVia On
SSLSessionTickets Off
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]
ProxyPreserveHost On
ProxyRequests off
AllowEncodedSlashes NoDecode
ProxyPass / http://localhost:8502/ nocanon
ProxyPassReverse / http://localhost:8502/
RewriteEngine on
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
</VirtualHost>
</IfModule>
Loading…
Cancel
Save