-
-
Save haproxytechblog/ecbdf5fd3ace33e8abb9ba1eb187e949 to your computer and use it in GitHub Desktop.
AI Crawlers Blog Post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global | |
module-load hapee-lb-botmgmt.so | |
botmgmt-data-file /opt/hapee-2.9/data-hapee | |
frontend www | |
mode http | |
bind :443 ssl crt /path/to/ssl.pem | |
filter botmgmt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acl is_ai_bot var(txn.verified_bot_category) -m str AI-crawler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http-request deny deny_status 403 if is_ai_bot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acl is_ai_claude var(txn.verified_bot) -m str ClaudeBot | |
http-request deny deny_status 403 if is_ai_claude |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global | |
module-load hapee-lb-botmgmt.so | |
botmgmt-data-file /opt/hapee-2.9/data-hapee | |
frontend www | |
mode http | |
bind :443 ssl crt /path/to/ssl.pem | |
filter botmgmt | |
acl is_ai_bot var(txn.verified_bot_category) -m str AI-crawler | |
http-request deny deny_status 403 if is_ai_bot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment