location /dir { auth_basic "Restricted Content"; auth_basic_user_file /usr/local/nginx/conf/htpasswd; allow 127.0.0.1; deny all;}
Please login or Register to submit your answer
用户名或电子邮箱地址
密码
记住我