我喜欢先判断一下是否有这个文件, 不知道不判断会不会有影响。
if (!-e $request_filename) { rewrite ^/(.+) /index.php last; break; }
如上是把所有的文件不存在的请求交给index.php处理。
注意 - 你可以用以下 HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
昵称
邮箱
网址
Δ
本文链接:https://twd2.me/archives/3114
距MICRO 2024反驳还有47天3时15分5秒(即4072505秒)
距MICRO 2024通知还有81天3时15分5秒(即7010105秒)
发表评论