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
|
@ -28,6 +28,8 @@
|
|||
ProxyPass /data !
|
||||
ProxyPass /.bzr !
|
||||
|
||||
RequestHeader unset Proxy
|
||||
|
||||
Alias /.bzr /srv/pandora/.bzr
|
||||
Alias /static /srv/pandora/static
|
||||
Alias /favicon.ico /srv/pandora/static/favicon.ico
|
||||
|
|
|
@ -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…
Reference in a new issue