WordPress网站专用docker容器环境
- 容器镜像采用基于docker容器alpine系统构建nginx+php+mariadb环境,网络采用docker host方式,日志可以获取到用户真实IP 地址 https://github.com/opcache/danmp
- 可以支持lua waf拦截非法请求,可以自定义规则
- 使用文档参考 https://aqzt.com/6645.html
- mysql默认密码为test123123
- 默认WEB路径/data/wwwroot/www.xxxxxx.cn
- 默认nginx配置路径/opt/nginx/conf.d
- 默认nginx waf配置路径/opt/nginx/conf.d/waf
- 默认nginx waf规则配置路径/opt/nginx/conf.d/waf/wafconf
- 默认nginx waf拦截日志/data/nginx-log/waflogs/waf.log
cd /opt/
wget https://github.com/opcache/wp-docker/archive/master.zip
unzip master.zip
cd wp-docker-master
bash install.sh
cd wp-docker-master
bash uninstall.sh
cd wp-docker-master
bash reload.sh
cd wp-docker-master
bash start.sh
cd wp-docker-master
bash stop.sh
cd wp-docker-master
bash nginx-waf.sh
- 分享交流,问题反馈,请加 QQ 群: 7652650 (安全运维)
- https://aqzt.com/bubble/6644.html