会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cidgur
Talk is cheap, show me the code.
博客园
首页
新随笔
联系
订阅
管理
2022年3月18日
nginx 动态添加ip黑名单
摘要: # !/bin/bash # 进入日志目录 cd /www/wwwlogs; # 遍历访问日志文件 过滤错误日志 dirs=`ls ./*.log | grep -v error.log`; # 设置IP黑名单配置文件 blockip_file='/www/server/nginx/conf/blo
阅读全文
posted @ 2022-03-18 13:44 cidgur
阅读(1043)
评论(0)
推荐(0)
公告