Origin Rules allow you to customize where the incoming traffic will go and with which parameters. Currently you can perform the following overrides:
- : Overrides the
Hostheader of incoming requests.
- : Overrides the Server Name Indication (SNI) value of incoming requests.
- : Overrides the resolved hostname of incoming requests.
- : Overrides the resolved destination port of incoming requests.
The Origin Rule expression will determine when these overrides will be applied.
Number of rules
Override destination port
Override DNS records
Override Host header
The execution order of Rules products is the following:
If you override the hostname with an Origin Rule (via Host header override or DNS record override) and add a header override to your load balancer configuration, the Origin Rule will take precedence over the load balancer configuration.
Like , an Origin Rule performing a Host header override will update the SNI value of the original request to the same value of the Host header. To set an SNI value different from the Host header override, add an SNI override in the same Origin Rule or create a separate Origin Rule for this purpose.