How do you handle large file uploads and request limits through a proxy chain?
IntermediateProductionLoad Balancing, Proxies & nginx in Production
Answer
Align limits at every layer: CDN (CloudFront 30 GB), ALB (no body limit, but timeouts), nginx client_max_body_size, app framework limits. Use presigned S3 URLs so large uploads bypass your servers, and set proxy_request_buffering off for streaming.
413 errors almost always mean one hop has a lower limit than the others.
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