From 9068bc0409524db260d0cded296e07d07d7d8ec4 Mon Sep 17 00:00:00 2001 From: polytan02 Date: Wed, 1 Jul 2015 12:22:49 +0100 Subject: [PATCH] Import databases bigger than 2M in standard This fix would let us import bigger database while restoring a backup for example. We could put bigger value, but this is already a nice step forward without compromising security, I guess. --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index c5870f3..24819a2 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,6 +5,7 @@ location YNH_WWW_PATH { } index index.php; try_files $uri $uri/ index.php; + client_max_body_size 50M; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php5-fpm.sock;