Add the pass host header section to the services documentation
This commit is contained in:
parent
4c5250e850
commit
211fa18ac2
4 changed files with 31 additions and 3 deletions
|
@ -322,6 +322,31 @@ Below are the available options for the health check mechanism:
|
|||
My-Header: bar
|
||||
```
|
||||
|
||||
#### Pass Host Header
|
||||
|
||||
The `passHostHeader` allows to forward client Host header to server.
|
||||
|
||||
By default, `passHostHeader` is true.
|
||||
|
||||
??? example "Don't forward the host header -- Using the [File Provider](../../providers/file.md)"
|
||||
|
||||
```toml tab="TOML"
|
||||
## Dynamic configuration
|
||||
[http.services]
|
||||
[http.services.Service01]
|
||||
[http.services.Service01.loadBalancer]
|
||||
passHostHeader = false
|
||||
```
|
||||
|
||||
```yaml tab="YAML"
|
||||
## Dynamic configuration
|
||||
http:
|
||||
services:
|
||||
Service01:
|
||||
loadBalancer:
|
||||
passHostHeader: false
|
||||
```
|
||||
|
||||
### Weighted Round Robin (service)
|
||||
|
||||
The WRR is able to load balance the requests between multiple services based on weights.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue