Set X-Forwarded-Proto to https in nginx.conf to prevent issues with redirect_to and https:// [ci skip]
This commit is contained in:
parent
c6f11f691d
commit
5a9b17567c
1 changed files with 1 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ http {
|
|||
location / {
|
||||
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 https;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_redirect off;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue