1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-02 06:45:45 +00:00

Added comments about httpoxy

This commit is contained in:
Steve Kamerman
2016-07-19 11:03:41 -04:00
parent 357d58ad97
commit fd127517b9
2 changed files with 6 additions and 0 deletions

View File

@ -51,6 +51,8 @@ proxy_set_header Connection $proxy_connection;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $proxy_x_forwarded_proto;
# Mitigate httpoxy attack (see README for details)
proxy_set_header Proxy "";
{{ end }}