Interview Prep/Networking/TLS, HTTP & Application Layer

Uploads of 5 MB fail with 413 behind your reverse proxy. What do you change?

IntermediateScenarioTLS, HTTP & Application Layer
Answer

Situation read → Proxies enforce body size limits, and each hop has its own.

What I'd do →

  1. Nginx: set client_max_body_size 50m; in the http, server or location
  2. Check ingress-nginx annotation nginx.ingress.kubernetes.io/proxy-body-size: "50m"
  3. Check ALB (1 MB limit for Lambda targets) and WAF body inspection limits
  4. Test with curl -F [email protected] https://example.com/upload -v

Why → The smallest limit in the chain rejects the request, and the error comes from that hop.

Interview tip → Say you confirm which hop answered by looking at response headers.

All Networking questions Roadmap: Networking for DevOps

More on TLS, HTTP & Application Layer