Arbitrary status codes from your webserver is extremely useful for testing your nginx or other reverse-proxy configuration. If your webserver is returning 500s, does nginx retry in an infinite loop? Not good!
Better: if a query causes your webserver to crash, does nginx crash ALL of them while retrying that bad query? :-)
Comments
Arbitrary status codes from your webserver is extremely useful for testing your nginx or other reverse-proxy configuration. If your webserver is returning 500s, does nginx retry in an infinite loop? Not good!
Better: if a query causes your webserver to crash, does nginx crash ALL of them while retrying that bad query? :-)