mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-04-12 04:44:23 +03:00
Headers not being passed was causing nginx to redirect to SSL again & again.
This commit is contained in:
parent
83c8594203
commit
cabcc7b106
|
@ -83,6 +83,8 @@ http {
|
|||
|
||||
# cookiecutter-django app
|
||||
location @proxy_to_app {
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header X-Url-Scheme $scheme;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_redirect off;
|
||||
|
|
Loading…
Reference in New Issue
Block a user