From ef78efd8af972d16da38ff703da61d7497f1930d Mon Sep 17 00:00:00 2001 From: Hardware Date: Wed, 5 Oct 2016 23:49:18 +0200 Subject: [PATCH] fix(): increase upload limit #4 --- nginx.conf | 1 + php-fpm.conf | 3 +++ 2 files changed, 4 insertions(+) diff --git a/nginx.conf b/nginx.conf index 5438bec..8a42a38 100644 --- a/nginx.conf +++ b/nginx.conf @@ -56,6 +56,7 @@ http { root /rainloop; index index.php; charset utf-8; + client_max_body_size 50M; location ^~ /data { deny all; diff --git a/php-fpm.conf b/php-fpm.conf index f636044..21c43ac 100644 --- a/php-fpm.conf +++ b/php-fpm.conf @@ -9,3 +9,6 @@ pm.start_servers = 2 pm.min_spare_servers = 1 pm.max_spare_servers = 3 chdir = / +php_admin_value[expose_php] = Off +php_admin_value[post_max_size] = 50M +php_admin_value[upload_max_filesize] = 50M