1、 身份认证与授权
用户授权表示检验有效用户是否被许可访问特定的资源
cd /usr/local/Nginx/conf
mkdir htpasswd
/usr/local/apache2/bin/htpasswd -c /usr/local/Nginx/conf/htpasswd/snda shandagames_mir #添加用户名为shandagames_mir
New password: (此处输入你的密码)
Re-type new password: (再次输入你的密码)
Adding password for user
http://www.xxxx.com/data/index.html(目录存在/var/shandagames/web/ ......