From 35e98c09251d9e82ff6a9b596cadd65a1cd308fe Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 1 Dec 2020 12:14:47 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 51908f1..df1ba72 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,6 +11,10 @@ location __PATH__/ { index index.php; + if (!-f $request_filename) { + rewrite ^ __PATH__/index.php last; + } + try_files $uri $uri/ __PATH__//__PATH__/index.php$is_args$args; location ~ [^/]\.php(/|$) {