From 4694b49f88a378232086825b6ac3ce6673ecf107 Mon Sep 17 00:00:00 2001 From: Yalh Date: Sat, 26 Jan 2019 04:27:48 +0100 Subject: [PATCH] Fix Install --- conf/nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 48e9d58..e9647c5 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -13,9 +13,10 @@ location __PATH__/ { index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file - #client_max_body_size 50M; + client_max_body_size 50M; + try_files $uri $uri/ index.php; - rewrite ^(.*)$ /__PATH__/index.php last; + rewrite ^(.*)$ __PATH__/index.php last; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php5-fpm-__NAME__.sock;