diff --git a/niucloud/public/nginx.htaccess b/niucloud/public/nginx.htaccess new file mode 100644 index 000000000..2031820d1 --- /dev/null +++ b/niucloud/public/nginx.htaccess @@ -0,0 +1,6 @@ +location / { + if (!-e $request_filename) { + rewrite ^(.*)$ /index.php/$1 last; + break; + } +} \ No newline at end of file