ACL Fetches and Converters

  • ACLs enable dynamic rules for traffic routing

  • Utilize powerful fetch methods from both:

    • HAProxy Community Edition
    • HAProxy Enterprise modules
  • Use-cases include: dynamic-routing, cache-control, AAA, security, etc

acl auth_admin http_auth(admin_users)
acl sysadmin path -i -m beg /sysadmin
acl is_post method POST 

... 

http-request auth realm HAPEE-Admin \
      if sysadmin !auth_admin
http-request use-service \
     lua.update_site_settings if sysadmin is_post
acl badbot req.botmgmt.score -gt 70
acl human req.botmgmt.score -lt 20

... 

http-request deny if badbot

© 2024 HAProxy Technologies, LLC. All Rights Reserved