Skip to content

Commit 688672d

Browse files
authored
Merge pull request #308 from netbox-community/XForwardedProto
Remove the 'X-Forwarded-Proto' line from the nginx config
2 parents 7f93b32 + 5624ecc commit 688672d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.netbox
33
.initializers
44
docker-compose.override.yml
5+
*.pem

docker/nginx.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ http {
2929
proxy_pass http://netbox:8001;
3030
proxy_set_header X-Forwarded-Host $http_host;
3131
proxy_set_header X-Real-IP $remote_addr;
32-
proxy_set_header X-Forwarded-Proto $scheme;
3332
add_header P3P 'CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV"';
3433
}
3534
}

0 commit comments

Comments
 (0)