use http_host insteda of server_name
This commit is contained in:
parent
bdc52d3729
commit
c8fa7b9054
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ http {
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://netbox:8001;
|
proxy_pass http://netbox:8001;
|
||||||
proxy_set_header X-Forwarded-Host $server_name;
|
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;
|
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…
Add table
Add a link
Reference in a new issue