ProxyPreserveHost

This commit is contained in:
creeper123123321 2021-04-29 14:14:36 -03:00 committed by GitHub
parent 3debc6d767
commit 65e6b4b0c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]