标签:
1. 域名重定向
server_name wx.he.com weixin.ha.com; if ($http_host !~* "wx\.he\.com"){ rewrite ^/(.*)$ http://wx.he.com/$1 permanent; }
nginx地址重写
原文地址:http://www.cnblogs.com/cmsd/p/4991120.html