From ed9b0d972047d4677f1f9f3397ad108f78ceea4b Mon Sep 17 00:00:00 2001 From: ewilly Date: Mon, 4 Apr 2016 22:00:01 +0200 Subject: [PATCH] fix upload limit --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 78da293..2517e61 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -13,6 +13,7 @@ location YNH_EXAMPLE_PATH { fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; include fastcgi_params; + fastcgi_param PHP_VALUE "upload_max_filesize = 2G \n post_max_size=2.1G"; fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $request_filename;