nginx设置指定访问使用auth_basic
server { listen 80; server_name domain.com; location ^~ /test/ { auth_basic off; allow all; } auth_basic "登录"; auth_basic_user_file /path/aut
server { listen 80; server_name domain.com; location ^~ /test/ { auth_basic off; allow all; } auth_basic "登录"; auth_basic_user_file /path/aut