I have my local development server returning status 413 for oversized file uploads and the client is receiving these immediately - as I require.
My remote server is the same version of Nginx and more-or-less the same configuration, but the 413 never reaches the browser.
An error indicating the data is oversized appears in the error log straight away and nothing appears in the access log. The browser continues to send the data and after 30 seconds the 413 status appears in the access log (and again in the error log) and the browser times out with an internal 'connection reset' error.
What configurations on the remote server could cause this delay?