WeCenter伪静态规则代码(宝塔linux Nginx环境)

君笑尘
君笑尘 这家伙很懒,还没有设置简介

0 人点赞了该文章 · 793 浏览

本站用的是以下的代码,亲测有效

location / {
 if (!-e $request_filename){
  rewrite  ^(.*)$  /index.php?s=$1  last;   break;
 }
}

wecenter宝塔配置.png

发布于 2023-02-07 20:40

免责声明:

本文由 君笑尘 原创发布于 君笑尘 ,著作权归作者所有。

登录一下,更多精彩内容等你发现,贡献精彩回答,参与评论互动

登录! 还没有账号?去注册

暂无评论

个人工作笔记 Powered BY WeCenter V4.1.0 © 2024 粤ICP备2020123311号