Nginx的访问控制



ocation ~ ^/admin.html {
root /usr/share/nginx/html;
deny 192.168.237.0/128;
allow all;
index index.html index.htm;
}

test2026-06-11 18:21


yum install -y httpd-tools

htpasswd -c ./auth_conf qinwei


test2026-06-11 19:43