摘要: 基于IP的访问控制 http_access_module(允许哪些IP可以访问,哪些不允许访问) 基于用户的信任登录 http_auth_basic_module(提供登录认证界面,通过登录认证的方式控制访问) 1、http_access_module方式 1)http_access_module 阅读全文
posted @ 2020-05-05 17:14 雷雨客 阅读(473) 评论(0) 推荐(0)
摘要: 今天将Nginx的配置文件 default.conf 重命名为 access_mod.conf 执行重启动命令: nginx -s reload -c /etc/nginx/nginx.conf 然后报错:Job for nginx.service failed because the contro 阅读全文
posted @ 2020-05-05 12:17 雷雨客 阅读(659) 评论(0) 推荐(0)