From f0d6e0116aca4394efc200edc49e2d5605f88823 Mon Sep 17 00:00:00 2001 From: Rodolphe Robles Date: Tue, 7 Apr 2020 18:18:40 +0200 Subject: [PATCH] try to make possible install on root path and change url from or to root path --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index fbcf8b5..5292783 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,13 +8,13 @@ location __PATH__ { } # Example PHP configuration (remove if not used) - index index.php /_route.php;; + index index.php; # Common parameter to increase upload size limit in conjuction with dedicated php-fpm file #client_max_body_size 50M; location ~ [^/]\.php(/|$) { - try_files $uri $uri/ index.php /_route.php; + try_files $uri $uri/ index.php; fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock; fastcgi_index index.php;