Preserve forwarded hub ports in router updates
This commit is contained in:
1 parent
3f40d03908
commit
0d091db6e7
2 files changed
+63
-5
No files matched your search
+3
-2
@@ -206,11 +206,12 @@ server {
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8088;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host \$host;
|
||||
proxy_set_header Host \$http_host;
|
||||
proxy_set_header X-Real-IP \$remote_addr;
|
||||
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header X-Forwarded-Host \$host;
|
||||
proxy_set_header X-Forwarded-Host \$http_host;
|
||||
proxy_set_header X-Forwarded-Port \$server_port;
|
||||
proxy_set_header Upgrade \$http_upgrade;
|
||||
proxy_set_header Connection \$owrt_remote_connection_upgrade;
|
||||
proxy_read_timeout 3600s;
|
||||
|
||||
Reference in new issue
Block a user