You've already forked hardened-haproxy
4 lines
331 B
Bash
4 lines
331 B
Bash
#!/bin/bash
|
|
curl -s https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/_generator_lists/bad-user-agents.list > /etc/haproxy/block-ua.txt
|
|
curl -s https://raw.githubusercontent.com/ai-robots-txt/ai.robots.txt/refs/heads/main/robots.txt | grep -oP 'User-agent:\s*\K.*' >> /etc/haproxy/block-ua.txt
|