do not pass proxy header in example config (httpoxy)

This commit is contained in:
j 2016-07-19 15:43:04 +02:00
parent ffe4b03a76
commit 000d2c560c
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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