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