typecho nginx for windows 伪静态

日期 2018-11-11 默认分类 作者 donny-展望未来 共1评论

typecho nginx for windows 伪静态

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;
}
} 


仅有一条评论
  1. ty ty

    欢迎加入 ty 大家族

人生在世,错别字在所难免,无需纠正。