By default, Edge Security Acceleration (ESA) points of presence (POPs) retrieve content from origin servers using the same protocol as the client. You can create origin rules to configure different protocols and ports for requests that match specific characteristics.
Create an origin protocol rule
In the ESA console, select Websites, and in the Website column, click the target site.
In the left navigation pane, choose .
Click Create Rule and enter a Rule Name.
Under If requests match..., set the match conditions for incoming requests. To learn more about creating a rule expression, see Composition of a rule expression.
Click Configure in the Origin Protocol and Port section. Then, select an origin protocol and set the HTTP and HTTPS port numbers.
NoteThe 80 and 443 ports are used by default. Customize the port number if needed.
Click OK.
Custom origin configuration example
This example shows how to configure all requests to the ESA site blog.example.com to use the HTTPS protocol to access the origin server on port 8080.
In the ESA console, select Websites, and in the Website column, click the target site.
In the left navigation pane, choose , and then click Create Rule.
Configure the following settings:
Rule Name: Enter a custom rule name, such as
custom_port.Under the match conditions, select All Requests to apply the rule to all requests under the current site.
In the Origin Protocol and Port section, set the Origin Protocol to
HTTPSand the HTTPS Port to8080.
Click OK.
After the rule takes effect, all requests to blog.example.com are forwarded to the origin server over HTTPS on port 8080.
Related documentation
Rule-related features vary in effective priority, reentrancy, and effective granularity. For details, see Rule characteristics.