Merge pull request #790 from arjanschaaf/duplicate-real-ip
#789 removing duplicate X-Real-IP header
This commit is contained in:
commit
d13b293619
1 changed files with 0 additions and 3 deletions
|
@ -386,9 +386,6 @@ http {
|
||||||
proxy_set_header ssl-client-cert $ssl_client_cert;
|
proxy_set_header ssl-client-cert $ssl_client_cert;
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
# Pass Real IP
|
|
||||||
proxy_set_header X-Real-IP $the_real_ip;
|
|
||||||
|
|
||||||
# Allow websocket connections
|
# Allow websocket connections
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection $connection_upgrade;
|
proxy_set_header Connection $connection_upgrade;
|
||||||
|
|
Loading…
Reference in a new issue