allow nginx to take uploads up to 4MB. resolves issue when uploading large photos.

This commit is contained in:
danielvincent 2010-11-21 22:34:40 -08:00
parent 218aa1c0d6
commit a3ce55c308

View file

@ -75,6 +75,9 @@ http {
proxy_redirect off; proxy_redirect off;
proxy_buffering off; proxy_buffering off;
client_max_body_size 4M;
client_body_buffer_size 128K;
if (-f $request_filename/index.html) { if (-f $request_filename/index.html) {
rewrite (.*) $1/index.html break; rewrite (.*) $1/index.html break;
} }