- 自行对照nginx.conf进行修改配置即可
- 修改需要防御的站点配置 根据3byte.me.conf对照修改
- 将cfc.sh放入/www/wwwlogs/目录下 并编辑配置.
- 配置一个定时任务, 1-3分钟都行.bash /www/wwwlogs/cfc.sh
- 配置一个日志切割, 因为cfc.sh会遍历网站日志文件, 如果文件太大会消耗很长时间.
- 1.新建一个网站, 域名填写你服务器的IP
- 2.使用IPSSL文件内ssl进行配置SSl证书,并保存开启SSL
- 3.默认站点(宝塔英语版自行翻译) 选择新建的IP网站
- 不懂的自行研究.
- 被攻击时可以加点CF防火墙规则, 比如分析攻击IP, 开启部分偏远冷门国家地区js质疑等规则.
- 一切都自己根据实际需求灵活配置即可.
-
重复上面的操作就行了
-
不懂的自行研究, 没时间一个一个回答, 感谢理解.