nginx?é?¤
来源:未知 责任编辑:责任编辑 发表时间:2014-05-26 11:01 点击:次
éú3é?ü?????t
htpasswd -b -c ???t?? ó??§?? ?ü??
±à?-nginx.conf
server {
listen 80;
server_name localhost;
auth_basic "input you user name and password";
auth_basic_user_file /usr/local/nginx/conf/nginx_passwd;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root /var/www/html;
index index.html index.htm;
}
location /soft{
autoindex on;
autoindex_exact_size off;
root /var/www/html;
}
相关新闻>>
- 发表评论
-
- 最新评论 更多>>