From 20b78427959fad363d14d5d787f0a4e08a63ce7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E4=BF=8A=E5=AE=8F?= <389838709@qq.com> Date: Tue, 2 Jul 2024 15:39:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/nginx.htaccess | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/nginx.htaccess b/public/nginx.htaccess index 56203a2..7759001 100644 --- a/public/nginx.htaccess +++ b/public/nginx.htaccess @@ -1,3 +1,6 @@ -if (!-e $request_filename) { +location ~ /(front|oauth|agreement|order) { + if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; + break; + } } \ No newline at end of file