4 ms·
404 and 500 should come from the destination server. You are correct that 503 would not.
by sho 7y ago
404 and 500 should come from the destination server. You are correct that 503 would not.
- jayd16 7y agoHmm are these assumptions valid? Can't a misconfigured load balancer cause a 404? Couldn't a bug in nginx, node or an app server produce a 500 response outside of your control?
- sho 7y agoI suppose a misconfigured load balancer or nginx instance could return absolutely anything. I think you'd have to be actually maliciously misprogramming it, though, to reach that level of dysfunction!