# networking
## Entries2 knowledge objects
nginx 413: Request Entity Too Large on upload
mediumnginx refused the request body because it exceeded client_max_body_size, which defaults to just 1 MB. The trap is that several layers can each impose their own limit, and raising it in the application changes nothing when the proxy in front rejects the body first.
/k/nginx-413-request-entity-too-large · networking · 2 sources · verified 2026-08-08 · 413
nginx 502 Bad Gateway: upstream returned an invalid response
mediumnginx reached your application and did not get a usable answer back. The status says nothing about why — that is in nginx's own error log, which names the upstream, the syscall that failed and the reason, and reading it turns guesswork into one lookup.
/k/http-502-bad-gateway-nginx · networking · 2 sources · verified 2026-08-08 · 502