this post was submitted on 12 Jun 2023
184 points (100.0% liked)
sh.itjust.works Main Community
102 readers
1 users here now
Home of the sh.itjust.works instance.
Join us on Matrix Chat
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Would love to hear some more details on the misconfiguration if you want to share @TheDude@sh.itjust.works
just updated the thread post to include more information for your curious beautiful mind
Not sure if you already did or the default config does it but if you only have one backend in an nginx reverse proxy it might also make sense to configure the max_fails and possibly the fail_timeout options so nginx won't consider your backend down for a few seconds every time it receives a TCP error connecting to that (single) backend. max_fails=0 in the named upstream section (see http://nginx.org/en/docs/http/ngx_http_upstream_module.html#upstream ) is what you want here.