From 2cda288913edd8b8f4bd41effbf0d270a5305c8b Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Sun, 6 Aug 2017 10:57:56 +0200 Subject: [PATCH] Increase upload limits --- etc/nginx/nginx.conf | 2 +- etc/php/7.0/fpm/php.ini | 6 +++--- etc/php/7.1/fpm/php.ini | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index e17eb33..233d7d4 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -22,7 +22,7 @@ http { keepalive_timeout 65; types_hash_max_size 2048; server_tokens off; - client_max_body_size 105M; + client_max_body_size 1G; proxy_http_version 1.1; #proxy_buffering off; diff --git a/etc/php/7.0/fpm/php.ini b/etc/php/7.0/fpm/php.ini index baa20f2..3c67225 100644 --- a/etc/php/7.0/fpm/php.ini +++ b/etc/php/7.0/fpm/php.ini @@ -653,7 +653,7 @@ auto_globals_jit = On ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; http://php.net/post-max-size -post_max_size = 105M +post_max_size = 1G ; Automatically add files before PHP document. ; http://php.net/auto-prepend-file @@ -807,10 +807,10 @@ file_uploads = On ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize -upload_max_filesize = 100M +upload_max_filesize = 1G ; Maximum number of files that can be uploaded via a single request -max_file_uploads = 20 +max_file_uploads = 100 ;;;;;;;;;;;;;;;;;; ; Fopen wrappers ; diff --git a/etc/php/7.1/fpm/php.ini b/etc/php/7.1/fpm/php.ini index 78d2996..274e0cc 100644 --- a/etc/php/7.1/fpm/php.ini +++ b/etc/php/7.1/fpm/php.ini @@ -668,7 +668,7 @@ auto_globals_jit = On ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; http://php.net/post-max-size -post_max_size = 105M +post_max_size = 1G ; Automatically add files before PHP document. ; http://php.net/auto-prepend-file @@ -821,10 +821,10 @@ file_uploads = On ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize -upload_max_filesize = 100M +upload_max_filesize = 1G ; Maximum number of files that can be uploaded via a single request -max_file_uploads = 20 +max_file_uploads = 100 ;;;;;;;;;;;;;;;;;; ; Fopen wrappers ;