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