Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Uploading a largish (2mb) file to nginx/passenger results in my connection being reset. I have tried editing configuration fields of nginx but apparently these are superseded by passenger's config.

I receive the error "Error 101 (net::ERR_CONNECTION_RESET): Unknown error."

Around the net information seems far from definitive so how can I resolve this?

share|improve this question

Ok so setting the following in the server block of nginx.conf fixed this:

client_max_body_size 4m;
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.