Actions

Last updated Sep 10, 2026 Add actions to customize how your load balancer responds to certain HTTP requests.

Each load balancing rule includes one or more actions.

Supported Actions

This table lists the actions available for Load Balancing rules. For a walkthrough, refer to Create Load Balancing rules.

Action Options Description
Fixed response N/A Respond to the request with an HTTP status code and an optional message.
Override Session affinity Set the session affinity for the request. You can customize cookie behavior and session time-to-live (TTL).
Override Load balancer TTL Customize the load balancer session time-to-live (TTL).
Override Steering policy Update the steering policy associated with your load balancer.
Override Fallback pool Update the fallback pools associated with your load balancer.
Override Pools Update the pools associated with your load balancer.
Override Region pools Update the region pools associated with your load balancer.
Override Country pools Update the country pools associated with your load balancer.
Override Terminates Stop processing Load Balancing rules and apply the current load balancing logic to the request.

Was this helpful?

YesNo

On this page

Actions - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/load-balancing/additional-options/load-balancing-rules/actions/#page","headline":"Actions","description":"Actions available in custom load balancing rules.","url":"https://developers.cloudflare.com/load-balancing/additional-options/load-balancing-rules/actions/","inLanguage":"en","image":"https://developers.cloudflare.com/load-balancing/additional-options/load-balancing-rules/actions/og.png?v=cf508f5bb5f495fe","dateModified":"2026-09-10","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Create custom rules for load balancing behavior. title: Create custom rules image: https://developers.cloudflare.com/load-balancing/additional-options/load-balancing-rules/create-rules/og.png?v=1bf93ed1b7d4080e


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/load-balancing/llms.txt
Use this file to discover all available pages before exploring further.