HAproxy deny access to specific user-agentJbn1233·FollowFeb 26, 2021--ListenShareExample: you don’t like a bot to poke around your webserver.frontend www-https http-request deny if { req.hdr(user-agent) -m sub facebookexternalhit }Done.PS. this is single line configuration.