From 1992aca2130bc9072b44e0798e761fc79642e1f0 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Wed, 8 Apr 2020 15:22:21 +0200 Subject: [PATCH] try change nginx.conf --- conf/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index e76ff4b..73491b3 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,18 +1,18 @@ location __PATH__/ { # Path to source -alias __FINALPATH__/www/ ; +alias __FINALPATH__/www ; if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } -try_files $uri $uri/ index.php /_route.php; -index index.php /_route.php; +try_files $uri $uri/ index.php +index index.php location ~ \.php { - try_files $uri $uri/ /_route.php; + try_files $uri $uri/ fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock; fastcgi_index index.php;