Use http_host
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
3833fd16eb
commit
7036022071
@ -23,5 +23,5 @@ proxy_set_header Connection "upgrade";
|
|||||||
|
|
||||||
# Enable X-Forwarded headers
|
# Enable X-Forwarded headers
|
||||||
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 X-Forwarded-Host $host;
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user