bundle/nginx set instead of HTTPS
This commit is contained in:
parent
4214b0a4ee
commit
481c1c85e5
1 changed files with 1 additions and 3 deletions
|
@ -108,9 +108,7 @@ server {
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
% endif
|
% endif
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
% if ssl:
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header X-Forwarded-Proto HTTPS;
|
|
||||||
% endif
|
|
||||||
proxy_set_header X-Forwarded-Host ${options.get('x_forwarded_host', domain)};
|
proxy_set_header X-Forwarded-Host ${options.get('x_forwarded_host', domain)};
|
||||||
% for option, value in options.get('proxy_set_header', {}).items():
|
% for option, value in options.get('proxy_set_header', {}).items():
|
||||||
proxy_set_header ${option} ${value};
|
proxy_set_header ${option} ${value};
|
||||||
|
|
Loading…
Reference in a new issue