OnlineJudge/deploy/nginx/https_redirect.conf
virusdefender 679512e3cc fix FORCE_HTTPS
add ip_header env
2018-01-05 10:44:15 +08:00

7 lines
126 B
Plaintext

location /api/judge_server_heartbeat {
include api_proxy.conf;
}
location / {
return 301 https://$host$request_uri;
}