nginx增加一个server节点
server {
listen 80;
listen [::]:80 ipv6only=on;
server_name denghb.com www.denghb.com wordpress.denghb.com typecho.denghb.com;
return 301 https://denghb.com$request_uri;
}
这样代表,http协议访问denghb.com|www.denghb.com|wordpress.denghb.com|typecho.denghb.com都将跳转到https://denghb.com
个人博客正式从wordpress迁移typecho。纪念
typecho国内的,代码量少,没有用到那啥google相关的东西,访问起来相对快。
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名,转载请标明出处;