Nginx Upstream Keepalive and Timeouts for Node.js Backends
Fix intermittent 502s between Nginx and Node.js by aligning nginx upstream keepalive with Node's keepAliveTimeout and scoping proxy timeouts per location.
16 min read
Tag
Fix intermittent 502s between Nginx and Node.js by aligning nginx upstream keepalive with Node's keepAliveTimeout and scoping proxy timeouts per location.
16 min read
Issue Let's Encrypt TLS certificates for Nginx with certbot, then make auto renewal reliable with deploy hooks, dry runs and independent expiry checks.
14 min read
Build blue/green zero downtime deployments on one host with Docker Compose healthchecks, Nginx upstream switching, graceful reloads, and safe rollback.
17 min read
Configure an nginx reverse proxy correctly: proxy_pass URI rewriting, header inheritance, TLS termination, upstream keepalive, WebSockets and timeouts.
14 min read