forked from wurzel/fruitbasket
userdir: increase upload size limit
This commit is contained in:
parent
549fffcab2
commit
964183a0e7
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,8 @@ in
|
||||||
phpPackage = pkgs.php.buildEnv {
|
phpPackage = pkgs.php.buildEnv {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
display_errors=0
|
display_errors=0
|
||||||
|
post_max_size = 40M
|
||||||
|
upload_max_filesize = 40M
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -67,6 +69,7 @@ in
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
proxy_intercept_errors on;
|
proxy_intercept_errors on;
|
||||||
error_page 403 404 =404 /404.html;
|
error_page 403 404 =404 /404.html;
|
||||||
|
client_max_body_size 40M;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue