首先,修改nginx.conf,在 location / { }
节点 或者是 location [安装目录名称] / { }(子目录安装)节点间加入下列代码:文章源自原紫番博客-https://www.yuanzifan.com/57249.html
文章源自原紫番博客-https://www.yuanzifan.com/57249.html
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;
}
然后,在zBlog的市场上,下载静态管理中心插件。安装并简单设置:文章源自原紫番博客-https://www.yuanzifan.com/57249.html
文章源自原紫番博客-https://www.yuanzifan.com/57249.html
文章源自原紫番博客-https://www.yuanzifan.com/57249.html
站长微信
扫码添加(注明来意)
Yuanzifan99
原梓番博客公众号
博客内容精选
原梓番博客











评论