Optimizing Backend Traffic with NGINX Upstream Blocks
Stop relying on a single backend IP. Learn how to use NGINX upstream blocks to distribute traffic, handle server failure, and optimize resource use with weight and least_conn.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Stop relying on a single backend IP. Learn how to use NGINX upstream blocks to distribute traffic, handle server failure, and optimize resource use with weight and least_conn.
Learn how to diagnose and fix Socket.io connection issues where clients fall back to HTTP long-polling instead of using WebSockets, including Nginx and load balancer configurations.
A diagnostic guide to troubleshooting NGINX 502 Bad Gateway errors, covering upstream connectivity, SELinux permissions, and buffer configurations.
Learn how to diagnose and fix 'Application Not Found' 404 errors in YunoHost by verifying Nginx reverse proxy mappings and domain associations.
Learn how to implement NGINX upstream load balancing to distribute traffic across multiple servers using Round Robin, weighted distribution, and session persistence.
Stop abusive traffic with NGINX's built‑in rate limiting. This guide explains limit_req_zone, shows a practical config, tests it, and discusses trade‑offs.
Learn how to diagnose and fix Socket.io connection issues where clients stay stuck in HTTP polling mode instead of upgrading to WebSockets, including proxy configurations and CORS fixes.
A concise guide to designing a minimal NGINX reverse‑proxy setup that enforces request‑rate limits with the limit_req module, covering requirements, trust boundaries, operational checks, failure modes, and when the design must evolve.
Problem Locally the server runs Nginx 1.15, where a simple listen 443 ssl directive implicitly enables HTTP/2. The same configuration is deployed to production, which uses Nginx 1.19. In this newer version HTTP/2 is no longer enabled by default, so clients that expect HTTP/2 fail to negotiate the protocol, causing degraded performance and compatibility issue