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;