mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Modify the Host value to $http_host in order to pass the port number while maintaining transparency.
Modify the Host value from $host to $http_host in order to pass the port number while maintaining transparency.
This commit is contained in:
parent
63d06da8a8
commit
288df29b50
@ -1,5 +1,5 @@
|
||||
add_header X-Served-By $host;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-Scheme $scheme;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
Loading…
Reference in New Issue
Block a user