From Dev.to
413 Request Entity Too Large: fixing file uploads behind Nginx
The upload works on your machine. You deploy, a user picks a 6 MB PDF, and the request dies with 413 Request Entity Too Large. Sometimes the browser shows a CORS error instead, which sends you looking...
