From 0fb46835c93ac3e0bc6136a4b0b852948747def0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=B4=E6=8E=8C?= Date: Wed, 15 Jun 2022 07:00:12 +0000 Subject: [PATCH] =?UTF-8?q?update=20public/nginx.htaccess.=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=BC=AA=E9=9D=99=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/nginx.htaccess | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/nginx.htaccess b/public/nginx.htaccess index e69de29b..8254399b 100755 --- a/public/nginx.htaccess +++ b/public/nginx.htaccess @@ -0,0 +1,6 @@ + location / { // …..省略部分代码 + if (!-e $request_filename) { + rewrite ^(.*)$ /index.php?s=/$1 last; + break; + } + } \ No newline at end of file