# HAProxy Integration This guide explains how to integrate the WAF patterns with HAProxy using ACL rules. ## Quick Start 1. Download `haproxy_waf.zip` from [Releases](https://github.com/fabriziosalmi/patterns/releases) 2. Extract the files 3. Include the ACL files in your HAProxy configuration ## Configuration Files The HAProxy WAF package includes: | File | Purpose | |------|---------| | `waf.acl` | Main WAF ACL rules | | `bots.acl` | Bad bot detection ACLs | ## Integration ### Step 1: Include ACL Files In your `haproxy.cfg`, include the WAF ACL files: ```haproxy frontend http-in bind *:80 # Include WAF ACL rules acl waf_block_sqli path_reg -i union.*select acl waf_block_sqli path_reg -i insert.*into acl waf_block_xss path_reg -i