mirror of
https://github.com/YunoHost-Apps/linkstack_ynh.git
synced 2024-09-03 19:36:14 +02:00
Increase upload limit to 10M
This commit is contained in:
parent
4164bc4723
commit
783950ebe4
2 changed files with 5 additions and 1 deletions
4
conf/extra_php-fpm.conf
Normal file
4
conf/extra_php-fpm.conf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
; Additional php.ini defines, specific to this pool of workers.
|
||||||
|
|
||||||
|
php_admin_value[upload_max_filesize] = 10M
|
||||||
|
php_admin_value[post_max_size] = 10M
|
|
@ -8,7 +8,7 @@ location __PATH__/ {
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
||||||
#client_max_body_size 50M;
|
client_max_body_size 10M;
|
||||||
|
|
||||||
try_files $uri $uri/ /index.php?$query_string;
|
try_files $uri $uri/ /index.php?$query_string;
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
|
|
Loading…
Reference in a new issue