From 1de5111ab5d6415a7cc604298c91d2a88ac47858 Mon Sep 17 00:00:00 2001 From: Jakub Piasecki Date: Mon, 9 Apr 2018 11:18:03 +0200 Subject: [PATCH] s/Host/HostRegexp --- docs/basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/basics.md b/docs/basics.md index 6e85cb1f1..5a8b98d85 100644 --- a/docs/basics.md +++ b/docs/basics.md @@ -170,7 +170,7 @@ Here is an example of frontends definition: - Three frontends are defined: `frontend1`, `frontend2` and `frontend3` - `frontend1` will forward the traffic to the `backend2` if the rule `Host:test.localhost,test2.localhost` is matched -- `frontend2` will forward the traffic to the `backend1` if the rule `Host:localhost,{subdomain:[a-z]+}.localhost` is matched (forwarding client `Host` header to the backend) +- `frontend2` will forward the traffic to the `backend1` if the rule `HostRegexp:localhost,{subdomain:[a-z]+}.localhost` is matched (forwarding client `Host` header to the backend) - `frontend3` will forward the traffic to the `backend2` if the rules `Host:test3.localhost` **AND** `Path:/test` are matched #### Combining multiple rules