Nginx伪静态规则Typecho网站伪静态规则本页总览Typecho网站伪静态规则Typecho网站伪静态规则 规则内容 if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; }if (-f $request_filename/index.php){ rewrite (.*) $1/index.php; }if (!-e $request_filename){ rewrite (.*) /index.php; } 作用和适用场景