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

@@ -1,3 +1,7 @@
location /api/judge_server_heartbeat {
include api_proxy.conf;
}
location / {
return 301 https://$host$request_uri;
}