txw/devops/web/proxy-common.conf
2026-05-03 17:49:17 +08:00

10 lines
301 B
Plaintext

proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_set_header Connection "";
# 超时控制
proxy_connect_timeout 20s;
proxy_read_timeout 60s;
proxy_send_timeout 60s;