首页 > CMS教程 > 其他CMS    日期:2018-09-01 / 来自互联网 / 浏览

ThinkSAAS是一个轻量级的开源社区系统,是一个可以用来搭建讨论组,bbs和圈子的社区系统。

把下面代码存为thinksaas.conf,然后在域名配置文件(jyr.me.conf)中嵌入(include thinksaas.conf)就行了。

location / 
{ 
    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 2 3 4 5