mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 23:55:24 +00:00
Merge pull request #617 from 0x6d61726b/patch-01_X-Forwarded-Proto
Fixed nginx X-Forwarded-Proto to match the protocol ("http", "https")
This commit is contained in:
commit
8995f47c13
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ server {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header Host $host:$server_port;
|
proxy_set_header Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $remote_addr;
|
proxy_set_header X-Forwarded-Proto http;
|
||||||
proxy_set_header X-Forwarded-Ssl off;
|
proxy_set_header X-Forwarded-Ssl off;
|
||||||
proxy_connect_timeout 1800;
|
proxy_connect_timeout 1800;
|
||||||
proxy_read_timeout 1800;
|
proxy_read_timeout 1800;
|
||||||
|
|
Loading…
Reference in a new issue