From f326e987595adb642f1b316289c687d972127d66 Mon Sep 17 00:00:00 2001 From: liberodark Date: Mon, 7 Jan 2019 18:22:38 +0100 Subject: [PATCH] try fix --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 4f5a265..dbcbd9a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,7 +1,7 @@ root __FINALPATH__/; index index.php; - rewrite ^ https://$server_name$request_uri? permanent; - + if (!-e $request_filename){ rewrite ^(.*)$ /index.php?dir=$1; } + location __PATH__/ { try_files $uri $uri/ /index.php?$args; }