美文网首页
CentOS7.7下docker部署OpenWAF

CentOS7.7下docker部署OpenWAF

作者: 小浪崇礼 | 来源:发表于2020-04-29 11:36 被阅读0次

CentOS7.7下docker部署OpenWAF

服务器操作系统:CentOS7.7 64位

官方地址:https://github.com/titansec/OpenWAF

安装地址:https://github.com/titansec/OpenWAF/blob/master/doc/%E8%BD%BB%E6%9D%BE%E7%8E%A9%E8%BD%ACOpenWAF%E4%B9%8B%E5%AE%89%E8%A3%85%E7%AF%87.md

官方实践文档:https://github.com/titansec/OpenWAF/tree/master/doc

作者博客:https://miracleqi.gitee.io/archives/

1.Docker安装

- 拉取docker镜像

  docker pull titansec/openwaf

- 开启docker openwaf

docker run -d --name openwaf -p 80:80 -p 443:443 -v /opt/openwaf/conf/ngx_openwaf.conf:/etc/ngx_openwaf.conf -v /opt/openwaf/conf/twaf_access_rule.json:/opt/OpenWAF/conf/twaf_access_rule.json -v /opt/openwaf/log/openwaf_error.log:/var/log/openwaf_error.log titansec/openwaf

相关文章

网友评论

      本文标题:CentOS7.7下docker部署OpenWAF

      本文链接:https://www.haomeiwen.com/subject/fmdgwhtx.html