server
{
listen 80 default;
rewrite ^/bbs/(.*)$ http://beishe.cc/$1 permanent;
rewrite ^/(.*)$ http://beishe.cc/$1 permanent;
access_log off;
}
nginx 子目录 301
Categories:
Related Post
ArchLinux下安装Shadowsocks服务端ArchLinux下安装Shadowsocks服务端
Arch Linux 的官方包索引中就有 Shadowsocks 的 Python 版(包名为 shadows […]
内网wpad代理自动检测配置无感知访问google内网wpad代理自动检测配置无感知访问google
参考:https://www.cnblogs.com/zyxnhr/p/10980279.html https […]

discuz是放在子/bbs下的,在nginx新建个server添加上面两个伪静态规则,即可有效301原站所有收录的链接