From c5e176981632b9130534d6e5d868b8fff186b792 Mon Sep 17 00:00:00 2001 From: lapineige Date: Thu, 6 Jun 2019 10:03:19 +0200 Subject: [PATCH] Increase file size upload limit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For the value, I don't really not what's meaningful… I believe most JPG images will be under 10MB, but PNG might be bigger, and stuff like loops and panorama images might be bigger… I'd suggest 20MB as a maximum (even if it's not really reasonable for a web picture to be that big) --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 14cbc899..dab9805e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,7 +12,7 @@ location __PATH__/ { index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file - #client_max_body_size 50M; + client_max_body_size 20M; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$;