nginx.conf里删除域名后,然后可以访问
server {
listen 80;
server_name t.abc.com;
rewrite ^/(.*)$ http://${variant}/$1;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root html;
index index.html index.htm;
}
}
之前server_name t.abc.com t.efg.com
之前是这么写,绑定了两个域名,现在删除掉一下,但发现t.efg.com还是可以访问
nginx restart和reload都做了,还是没有效果,
纳闷中