From 08a7b1a8f5c40c138b4080572dd7a8f75ff2579f Mon Sep 17 00:00:00 2001 From: niucloud Date: Sat, 16 Dec 2023 03:53:37 +0000 Subject: [PATCH] add niucloud/public/nginx.htaccess. Signed-off-by: niucloud --- niucloud/public/nginx.htaccess | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 niucloud/public/nginx.htaccess 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