zulip/puppet/zulip
Alex Vandiver 1bd0ab506c nginx: Make uwsgi timeout shorter than nginx-to-uwsgi timeout.
The nginx-to-uwsig-timeout defaults to 60s, which is exactly the same
as the current "harakiri" timeout configured in uwsgi (which limits
the length a request can run before the worker is terminated).  This
causes a race, where if nginx hits its 60s before uwsgi, then we
return a 504; otherwise, we get a 502.

Make the nginx-to-uwsgi timeout explicit, and shorten the "harakiri"
timeout to be explicitly less than that.  Document the 60s timeout,
which all outer reverse proxies must be set to _longer than_ in order
to have proper "onion" timeouts.
2024-10-07 15:41:08 -07:00
..
files nginx: Make uwsgi timeout shorter than nginx-to-uwsgi timeout. 2024-10-07 15:41:08 -07:00
lib/puppet puppet: Support IPv6 nameservers. 2023-06-23 11:32:17 -07:00
manifests puppet: Upgrade sentry-cli. 2024-09-30 11:24:36 -07:00
templates nginx: Make uwsgi timeout shorter than nginx-to-uwsgi timeout. 2024-10-07 15:41:08 -07:00