From a24e803c93baa84fd849dc00883f6aa2ff422c3f Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 13 Nov 2020 22:42:22 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index fa6bad6..9e7a3ef 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,7 +11,8 @@ location ^~ __PATH__/ { index index.php; - try_files $uri $uri/ @lychee; + try_files $uri $uri/ /lychee//lychee/index.php?$query_string; + location ~ \.php$ { if (!-e $request_filename) { rewrite ^/lychee/?(.*)$ /lychee/index.php?/$1 last;