摘要:
基于用户_明文传输http 工具安装,yum install -y httpd-tools 设置用户名和密码htpasswd -b -c /etc/nginx/.auth.conf testnginx 123456 /etc/nginx/conf.d/default.conf中在监控部分添加 loc 阅读全文
posted @ 2020-03-14 12:14
Le1543
阅读(123)
评论(0)
推荐(0)
摘要:
egrep -v '#|^$' /etc/nginx/conf.d/default.off > /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf 中 目录索引 location /download { #相对根目录下的down 阅读全文
posted @ 2020-03-14 11:39
Le1543
阅读(186)
评论(0)
推荐(0)
摘要:
临时关闭setenforce 0 阅读全文
posted @ 2020-03-14 11:29
Le1543
阅读(85)
评论(0)
推荐(0)
摘要:
nginx官网右侧download-->Pre-Built Packages栏目中点stable and mainline 改/etc/yum.repos.d/nginx.repo [nginx-stable]name=nginx stable repobaseurl=http://nginx.or 阅读全文
posted @ 2020-03-14 11:13
Le1543
阅读(155)
评论(0)
推荐(0)