4 ms·
I've never had this problem when doing reverse proxies through nginx. Theres no delay when I restart node, the 502 goes away right after.
by kart23 7y ago
I've never had this problem when doing reverse proxies through nginx. Theres no delay when I restart node, the 502 goes away right after.
- winrid 7y agoYou have to make a request while the upstream is down. So do the restart, then make a request right away. If your service restarts quickly it'll be hard to reproduce.