56

nginx 用户访问添加密码;autoindex模块详解;传送client IP-wangdadadianxia的博客

 6 years ago
source link: http://blog.51cto.com/13590999/2094871
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
nginx基于用户的访问控制htpasswd命令是Apache的Web服务器内置工具,用于创建和更新储存用户名、域和用户基本认证的密码文件。1.建立口令文件——创建密码文件一般口令文件最好创建在 /usr/local/nginx/ 下,这样是为了方便管理。下面是命令:mkdir /usr/local/nginxhtpasswd -cm /usr//local/nginx/passwd  

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK