From 5a43074f2f6542fdce7b81b8e91d0dfbb29ecb7f Mon Sep 17 00:00:00 2001 From: Guillaume Roche Date: Wed, 25 Feb 2015 20:59:26 +0100 Subject: [PATCH] Update nginx.conf Add client_max_body_size in nginx.conf for upload files --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index db746eb..8061fe7 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,7 +3,7 @@ location PATHTOCHANGE { if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } - + client_max_body_size 10G; index index.php; rewrite ^PATHTOCHANGE/dashboard|^PATHTOCHANGE/settings|^PATHTOCHANGE/welcome|^PATHTOCHANGE/ws- PATHTOCHANGE/index.php last;