From 920cc1205a722e3c7734373eecd45858cf2860ec Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Wed, 8 Apr 2020 14:09:31 +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 0f0e75e..2d09ea6 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,10 +7,10 @@ location __PATH__ { rewrite ^ https://$server_name$request_uri? permanent; } -location / { - try_files $uri $uri/ index.php /_route.php; - 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;