Thursday, March 31, 2011

Setting up nginx maximum upload size

by Sandip Ransing 0 comments
Tags

Edit nginx configuration and look for html block.
Inside html block add following line.
http { include conf/mime.types; default_type application/octet-stream; client_max_body_size 10m; .... }
In above configuration "application/octet-stream" supports any kind of file upload.

blog comments powered by Disqus

About The Author

Sandip is a ruby on rails developer based in pune and also a blogger at funonrails. Opensource contributor and working with Josh software Private Limited. for more info read Follow Sandip on Twitter for updates.

Connect With Me...

Github Projects

@sandipransing Twitter