Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.