diff --git a/conf/nginx.conf b/conf/nginx.conf index a10d1c4..703a88c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -15,7 +15,8 @@ location ^~ __PATH__/ { client_max_body_size 512M; proxy_max_temp_file_size2048M; - try_files $uri $uri/ @lychee; + try_files $uri $uri/ __PATH__/__PATH__/index.php?$query_string; + location ~ \.php$ { if (!-e $request_filename) { rewrite ^__PATH__/?(.*)$ __PATH__/index.php?/$1 last;