proxy ok streamlit

master
forksand 3 years ago
parent 366526e48a
commit 9bbe1dc6a1

@ -28,15 +28,15 @@ ProxyVia On
SSLSessionTickets Off SSLSessionTickets Off
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
ProxyPreserveHost On RewriteRule /(.*) http://localhost:8501/$1 [P]
ProxyRequests off ProxyPassReverse / http://localhost:8501
AllowEncodedSlashes NoDecode ProxyPreserveHost On
ProxyPass / http://localhost:8502/ nocanon ProxyRequests off
ProxyPassReverse / http://localhost:8502/ AllowEncodedSlashes NoDecode
</VirtualHost> </VirtualHost>
</IfModule> </IfModule>
Loading…
Cancel
Save