zhangyiqun
Thoughts, stories and ideas.
nginx中防止别人域名指向你的IP,设置后没有在server中绑定的域名会返回400
server {
listen 80 default;
location / { return 400; }
}