Advertisement
ovizii

proxy.conf

Apr 20th, 2017
781
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. # HTTP 1.1 support
  2. proxy_http_version 1.1;
  3. proxy_buffering off;
  4. proxy_set_header Host $http_host;
  5. proxy_set_header Upgrade $http_upgrade;
  6. proxy_set_header Connection $proxy_connection;
  7. proxy_set_header X-Real-IP $remote_addr;
  8. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  9. proxy_set_header X-Forwarded-Proto $proxy_x_forwarded_proto;
  10. proxy_set_header X-Forwarded-Ssl $proxy_x_forwarded_ssl;
  11. proxy_set_header X-Forwarded-Port $proxy_x_forwarded_port;
  12.  
  13. # Mitigate httpoxy attack (see README for details)
  14. proxy_set_header Proxy "";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement