fix FORCE_HTTPS

add ip_header env
This commit is contained in:
virusdefender
2018-01-05 09:50:25 +08:00
parent 0e1d40792f
commit 679512e3cc
4 changed files with 16 additions and 4 deletions

View File

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