nginx-kit/proxy_pass/timeout-300.conf
2026-06-09 14:41:15 +08:00

9 lines
352 B
Text

# Keep this as an opt-in long-request profile instead of raising timeouts in
# forwarded.conf for every proxy location.
proxy_connect_timeout 300;
proxy_send_timeout 300;
proxy_read_timeout 300;
# send_timeout covers the downstream client socket too, so long-lived responses
# do not inherit a shorter default than the upstream leg.
send_timeout 300;