摘要: 步骤一:安装httpd相关工具 yum -y install httpd-tools 步骤二:生成密码文件 htpasswd -c /usr/local/nginx/conf/htpasswd username 根据提示填写密码 步骤三:修改nginx配置 里添加: server { listen 阅读全文
posted @ 2018-05-04 10:22 sblack 阅读(146) 评论(0) 推荐(0) 编辑