mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-24 12:25:39 +01:00
ProxyPreserveHost
This commit is contained in:
parent
3debc6d767
commit
65e6b4b0c8
@ -11,7 +11,8 @@ sudo a2enmod rewrite ssl proxy_http proxy_connect proxy_wstunnel
|
||||
SSLProxyEngine on
|
||||
SSLProxyCheckPeerCN off
|
||||
SSLProxyCheckPeerExpire off
|
||||
RewriteEngine On
|
||||
ProxyPreserveHost on
|
||||
RewriteEngine on
|
||||
RewriteCond %{HTTP:Upgrade} =websocket [NC]
|
||||
RewriteRule ^/viaaas/(.*) wss://localhost:25543/$1 [P,L]
|
||||
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
|
||||
|
Loading…
Reference in New Issue
Block a user