-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
841475e
commit daf57a8
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,3 +53,4 @@ response_headers_to_remove | |
vhost | ||
route | ||
vcluster | ||
route_matching |
12 changes: 12 additions & 0 deletions
12
docs/configuration/http_conn_man/route_config/route_matching.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Route matching | ||
============== | ||
|
||
When Envoy matches a route, it uses the following procedure: | ||
|
||
#. The HTTP request's *host* or *:authority* header is matched to a :ref:`virtual host | ||
<config_http_conn_man_route_table_vhost>`. | ||
#. Each :ref:`route entry <config_http_conn_man_route_table_route>` in the virtual host is checked, | ||
*in order*. If there is a match, the route is used and no further route checks are made. | ||
#. Independently, each :ref:`virtual cluster <config_http_conn_man_route_table_vcluster>` in the | ||
virtual host is checked, *in order*. If there is a match, the virtual cluster is used and no | ||
further virtual cluster checks are made. |