zulip/puppet
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
..
kandra puppet: Allow tusd to be exposed on non-localhost. 2024-09-27 15:06:47 -07:00
zulip nginx: Make uwsgi timeout shorter than nginx-to-uwsgi timeout. 2024-10-07 15:41:08 -07:00
deps.yaml puppet: Update dependencies. 2023-05-11 10:51:37 -07:00