haproxy_action_create
Create HAProxy frontend actions, such as use_backend, redirect, or modify headers, by specifying conditions and values for precise traffic management on OPNSense firewalls.
Instructions
Create an action for HAProxy frontend
Input Schema
Name | Required | Description | Default |
---|---|---|---|
backend | No | Backend name (for use_backend) | |
condition | No | ACL condition | |
frontend | Yes | Frontend UUID | |
type | Yes | Action type | |
value | No | Action value |
Input Schema (JSON Schema)
{
"properties": {
"backend": {
"description": "Backend name (for use_backend)",
"type": "string"
},
"condition": {
"description": "ACL condition",
"type": "string"
},
"frontend": {
"description": "Frontend UUID",
"type": "string"
},
"type": {
"description": "Action type",
"enum": [
"use_backend",
"redirect",
"add_header",
"set_header",
"del_header"
],
"type": "string"
},
"value": {
"description": "Action value",
"type": "string"
}
},
"required": [
"frontend",
"type"
],
"type": "object"
}