http段增加配置
server {
listen 80;
server_name status.taobao.com;
location = /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
}
http段增加配置
server {
listen 80;
server_name status.taobao.com;
location = /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
}