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;