diff --git a/web/nginx伪静态.txt b/web/nginx伪静态.txt new file mode 100644 index 0000000..d64dcc8 --- /dev/null +++ b/web/nginx伪静态.txt @@ -0,0 +1,5 @@ +location / { + if (!-e $request_filename){ + rewrite ^(.*)$ /index.php/$1 last; break; + } +} \ No newline at end of file