Nginx http://www.aliyun.com/zixun/aggregation/38609.html "> access control
1.Nginx ID Card Verification
#cd/usr/local/nginx/conf #mkdir htpasswd /usr/local/apache2/bin/htpasswd-c/usr/local/nginx/conf/htpasswd/tongji Linuxtone #添加用户名为linuxtone New Password: (enter your password here) Re-type New Password: (enter your password again) Adding password for user
http://count.linuxtone.org/tongji/data/index.html (Directory exists/data/www/wwwroot/tongji/data/directory) The next configuration is placed in the virtual host directory, which prompts for http://count.linuxtone/tongji/when Access is available:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.