- 博客(2)
- 收藏
- 关注
原创 nginx下discuz x3的伪静态规则
server { listen 80; server_name koogay.com bbs.koogay.com; ... rewrite ^([^\.]*)/topic-(.+)\.html$ $1/portal.php?mod=topic&topic=$2 last; rewrite ^([^\.]*)/article-([0-9]+)-([0-9]+)\.html$ $1/po
2015-03-27 00:20:55 1326
原创 nginx域名301重定向
server{ ... if ($host != 'bbs.koogay.com' ) { rewrite ^/(.*)$ http://bbs.koogay.com/$1 permanent; } ... }
2015-03-27 00:14:35 785
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人