do not pass proxy header in example config (httpoxy)
This commit is contained in:
parent
ffe4b03a76
commit
000d2c560c
2 changed files with 4 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ server {
|
|||
proxy_set_header Host $http_host;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Proxy "";
|
||||
proxy_redirect off;
|
||||
proxy_buffering off;
|
||||
proxy_read_timeout 999999999;
|
||||
|
|
@ -49,6 +50,7 @@ server {
|
|||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto http;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header Proxy "";
|
||||
proxy_redirect off;
|
||||
proxy_buffering off;
|
||||
proxy_read_timeout 90; #should be in sync with gunicorn timeout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue