From 5930dc76ecf761e9734e3a838ed7ffbe4087fd0e Mon Sep 17 00:00:00 2001 From: JimboJoe Date: Mon, 17 Apr 2017 12:08:43 +0200 Subject: [PATCH] Enable uploads bigger than 1Mb Reference: https://www.dokuwiki.org/faq:uploadsize --- conf/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 0a6294f..4311e99 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,6 +8,8 @@ location __PATHTOCHANGE__ { index index.php; try_files $uri $uri/ index.php; + client_max_body_size 25M; + location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php5-fpm-__NAMETOCHANGE__.sock;