Fix X-Forwarded-Proto header to pass through value from Nginx Proxy Manager instead of overwriting with local
This commit is contained in:
parent
329e22cfd6
commit
89761e8c21
|
|
@ -15,7 +15,7 @@ server {
|
|||
proxy_set_header Host $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 $scheme;
|
||||
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_connect_timeout 300s;
|
||||
proxy_read_timeout 300s;
|
||||
|
|
|
|||
Loading…
Reference in New Issue