已经有一个写了rewrite规则的 xxx.xxx.com.cn的文件(CN文件),直接在nginx.conf里 server{}里加入 include 'D://www/rewrite/xxx.xxx.com.cn'; 即可。