fix ip header

This commit is contained in:
virusdefender
2018-01-06 23:53:41 +08:00
parent d8221ca8f5
commit 0e83a920b2
5 changed files with 11 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
proxy_pass http://backend;
proxy_set_header X-Real-IP __IP_HEADER__;
proxy_set_header Host $http_host;client_max_body_size 200M;
proxy_set_header Host $http_host;
client_max_body_size 200M;
proxy_http_version 1.1;
proxy_set_header Connection '';