Re:Fixng Nginx 502 Gateway Timeout with proxy_pass During De...
by winrid on Sunday February 09, 2020 @04:12AM
(#22281189)
In this case it's mostly for experiments and stuff. And spawning a new vm etc is slow for that kind of thing. This takes less than a second (I just merge to master and it deploys).
Re:Fixng Nginx 502 Gateway Timeout with proxy_pass During De...
by winrid on Sunday February 09, 2020 @04:17AM
(#22281206)
also! I worked at a place where this was an issue for years. We eventually moved to Kubernetes, but it would have been nice to know this fix until then for the qa/dev environments where stuff was constantly deploying.
Otherwise, the requests will potentially wait a long time to be handled while the app starts up.