mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-29 19:33:14 +01:00
Merge pull request #308 from netbox-community/XForwardedProto
Remove the 'X-Forwarded-Proto' line from the nginx config
This commit is contained in:
commit
688672de26
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
.netbox
|
.netbox
|
||||||
.initializers
|
.initializers
|
||||||
docker-compose.override.yml
|
docker-compose.override.yml
|
||||||
|
*.pem
|
||||||
|
@ -29,7 +29,6 @@ http {
|
|||||||
proxy_pass http://netbox:8001;
|
proxy_pass http://netbox:8001;
|
||||||
proxy_set_header X-Forwarded-Host $http_host;
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
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"';
|
add_header P3P 'CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV"';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user