Merge pull request #308 from netbox-community/XForwardedProto

Remove the 'X-Forwarded-Proto' line from the nginx config
This commit is contained in:
Christian Mäder
2020-06-05 11:57:23 +02:00
committed by GitHub
2 changed files with 1 additions and 1 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@
.netbox
.initializers
docker-compose.override.yml
*.pem

View File

@@ -29,7 +29,6 @@ http {
proxy_pass http://netbox:8001;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
add_header P3P 'CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV"';
}
}