What common mistakes break HTTP behavior behind proxies?
IntermediateProductionLoad Balancing, Proxies & nginx in Production
Answer
Missing Host or X-Forwarded-Proto causing redirect loops, buffering that breaks streaming or SSE (proxy_buffering off), incorrect upgrade headers for WebSockets, trailing slash behavior in proxy_pass, and caching responses with cookies.
Remember: proxy_pass http://app; passes the original URI, while proxy_pass http://app/; replaces the matched location prefix. This one catches everyone once.
More on Load Balancing, Proxies & nginx in Production
How do you choose between ALB, NLB and an nginx or Envoy fleet?IntermediateHow do you tune ALB idle timeout and backend keep-alive to avoid 502s?IntermediateWhich nginx directives matter most for a production reverse proxy?IntermediateHow do you do rate limiting and abuse protection in nginx?IntermediateHow do you achieve zero-downtime configuration reloads in nginx and HAProxy?IntermediateHow would you design a highly available load-balancing tier on-prem or in a colo?Advanced