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

@@ -3,10 +3,7 @@ location /public {
}
location /api {
proxy_pass http://backend;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
client_max_body_size 200M;
include api_proxy.conf;
}
location /data/ {