We help you avoid the 10 most common NGINX configuration errors, explaining the problems caused by each and how to fix them. Errors include insufficient file descriptors per worker, disabling proxy buffering, and not using upstream groups and keepalive connections.
Diagnostic Logging with the NGINX JavaScript Module
We show how to use the NGINX JavaScript module to capture data about requests that cause errors, with enough details to be useful for debugging and troubleshooting, while not cluttering the log with this information about requests that didn't experience errors.