-
Open the navigation menu, click Networking, and then click Load balancers. Click Load balancer. The Load balancers page appears.
-
Select the Compartment from the list. All load balancers in that compartment are listed in tabular form.
-
Select a State from the list to limit the load balancers displayed to that state.
-
Select the load balancer for which you want to create a path route set. The load balancer's Details page appears.
-
Click Path route sets under Resources. The Path route sets list appears. All routing policies are listed in tabular form.
-
Click Create path route set. The Create path route set dialog box appears.
-
Complete the following:
-
Name: Enter a friendly name for the path route set. The name must be unique, and can't be changed.
The path route set name can't begin with a period and can't contain the characters ;, ?, #, %, /, \, [, or ].
-
Path route rules
-
Order: If you have several path route rules, you can click the up or down arrows to move the corresponding rule.
Note
The order of the rules within the path route set typically doesn't matter. However, if matching cascades down to prefix or suffix matching, the system chooses the first prefix or suffix rule that matches the incoming URI path.
-
Match style: The type of matching to apply to incoming URIs. See Request Routing for Load Balancers for more information.
-
URL string: The path string to match against the incoming URI path, for example /admin/
.
-
Backend set name: The name of the target backend set for requests where the incoming URI matches the specified path.
-
Click + Additional rule to create another path route rule. You can have up to 20 path route rules in a set.
-
Click X to delete an existing rule.
-
Click Create.
After you create a path route set, the set becomes available for use with the associated load balance. Create or update a listener to apply the path route set.