From 38e34bd3a465c7aaba721e40f6b493b785bb825a Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Wed, 8 Jul 2020 00:57:52 +0200 Subject: [PATCH] try to debug links --- conf/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index a7ea00a..4dc56d5 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,10 +8,11 @@ location __PATH__ { rewrite ^ https://$server_name$request_uri? permanent; } - index index.php /_route.php; try_files $uri $uri/ index.php /_route.php; + index index.php /_route.php; location ~ [^/]\.php(/|$) { + try_files $uri $uri/ /_route.php; fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock; fastcgi_index index.php;