YIem`s Blog -心比天高命比纸薄

备份Typecho 伪静态


备份Typecho 伪静态

location / {

index index.html index.php;
if (-f $request_filename/index.html) {
rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php) {
rewrite (.*) $1/index.php;
}
if (!-f $request_filename) {
rewrite (.*) /index.php;
}
}

当前页面是本站的「Baidu MIP」版。查看和发表评论请点击:完整版 »