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

5 lines
184 B
Plaintext

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 '';