Cloudflare Docs
Rules
Rules
Visit Rules on GitHub
Set theme to dark (⇧+D)

Origin Rules (beta)

Origin Rules allow you to customize where the incoming traffic will go and with which parameters. Currently you can perform the following overrides:

The Origin Rule expression will determine when these overrides are applied.

​​ Availability

Free Pro Business Enterprise
Number of Origin Rules 10 20 50 100
Host Header Override Yes
Resolve Override Yes
Destination Port Override Yes Yes Yes Yes

​​ Important remarks

If you override the hostname with an Origin Rule (via Host Header Override or Resolve Override) and add a header override to your Load Balancer configuration, the Origin Rule will take precedence over the Load Balancer configuration.