create_haproxy_backend
Create an HAProxy backend pool in pfSense to define a group of servers for load balancing. Configure protocol mode, balance algorithm, and health checks.
Instructions
Create an HAProxy backend pool
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Protocol mode ('http' or 'tcp') | http |
| name | Yes | Backend name (alphanumeric and underscores only) | |
| descr | No | Optional description | |
| balance | No | Load balancing algorithm (roundrobin, leastconn, source, etc.) | |
| check_type | No | Health check type (HTTP, TCP, SSL, none, etc.) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||