Remove the 'X-Forwarded-Proto' line from the nginx config
The reason is that in the default configuration nginx is only serving 'http' traffic. So if an upstream proxy sets the 'X-Forwarded-Proto' header, because it is terminating TLS, then nginx will overwrite it to 'http'. This will cause django to think the page is served via 'http' and it will not create 'https://...' URLs. Related to #292
This commit is contained in:
parent
03b36058cd
commit
5624ecc65e
2 changed files with 1 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
.netbox
|
||||
.initializers
|
||||
docker-compose.override.yml
|
||||
*.pem
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue