@yjsx86 在 佬们, 问个nginx的问题 中发帖
我的nginx.conf如下设置, 为什么还能通过IP访问?
$ cat nginx/nginx.conf
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_...