![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
网站
koogay
koogay.com
展开
-
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 · 1306 阅读 · 0 评论 -
nginx域名301重定向
server{...if ($host != 'bbs.koogay.com' ) {rewrite ^/(.*)$ http://bbs.koogay.com/$1 permanent; }...}原创 2015-03-27 00:14:35 · 774 阅读 · 0 评论