allow nginx to take uploads up to 4MB. resolves issue when uploading large photos.
This commit is contained in:
parent
218aa1c0d6
commit
a3ce55c308
1 changed files with 3 additions and 0 deletions
|
|
@ -75,6 +75,9 @@ http {
|
|||
proxy_redirect off;
|
||||
proxy_buffering off;
|
||||
|
||||
client_max_body_size 4M;
|
||||
client_body_buffer_size 128K;
|
||||
|
||||
if (-f $request_filename/index.html) {
|
||||
rewrite (.*) $1/index.html break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue