Load Balancing actions
Overview
Actions tell Cloudflare how to handle HTTP requests that have matched a Load Balancing expression.
Note that a single Load Balancing rule can include more than one action.
Supported Actions
This table lists the actions available for Load Balancing rules. For a walkthrough, see Creating Load Balancing rules.
Action | Description |
---|---|
Fixed response | Respond to the request with an HTTP status code and an optional message. |
Pool selection | Select the pool to receive the request. You can customize the logic to use for pool selection, including traffic steering method, available pools, fallback pool, and region. |
Redirect | Redirect the request to another URL. |
Return | Stop processing Load Balancing rules and apply the current load balancing logic to the request. |
Session affinity | Set the session affinity for the request. You can customize cookie behavior, session time-to-live (TTL), and origin drain duration TTL. |