... | ... | @@ -220,8 +220,6 @@ Here's only the configuration about Lufi, you need to put it in a working Virtua |
|
|
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
|
|
# Adapt this to your configuration
|
|
|
RewriteRule ^/lufi/(.*) ws://127.0.0.1:8081/lufi/$1 [P,L]
|
|
|
# HTTPS only, use instead of the above line (note the "wss" instead of "ws")
|
|
|
#RewriteRule ^/lufi/(.*) wss://127.0.0.1:8081/lufi/$1 [P,L]
|
|
|
|
|
|
RequestHeader unset X-Forwarded-Proto
|
|
|
RequestHeader add X-Remote-Port %{R_P}e
|
... | ... | |