fix KV service docs for http:url and tcp:address

This commit is contained in:
bryfry 2020-04-27 11:18:04 -04:00 committed by GitHub
parent 4fcf7bf2de
commit 367e797d5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,17 +106,9 @@ A Story of key & values
See [servers](../services/index.md#servers) for more information. See [servers](../services/index.md#servers) for more information.
| Key (Path) | Value | | Key (Path) | Value -------------------------- |
|-----------------------------------------------------------------|--------| |-----------------------------------------------------------------|---------------------------------------------------------|
| `traefik/http/services/myservice/loadbalancer/servers/0/scheme` | `http` | | `traefik/http/services/myservice/loadbalancer/servers/0/url` | `http://<ip-server-1>:<port-server-1>/` |
??? info "`traefik/http/services/<service_name>/loadbalancer/servers/<n>/scheme`"
Overrides the default scheme.
| Key (Path) | Value |
|-----------------------------------------------------------------|--------|
| `traefik/http/services/myservice/loadbalancer/servers/0/scheme` | `http` |
??? info "`traefik/http/services/<service_name>/loadbalancer/passhostheader`" ??? info "`traefik/http/services/<service_name>/loadbalancer/passhostheader`"
@ -382,8 +374,8 @@ You can declare TCP Routers and/or Services using KV.
See [servers](../services/index.md#servers) for more information. See [servers](../services/index.md#servers) for more information.
| Key (Path) | Value | | Key (Path) | Value |
|-------------------------------------------------------------------|--------| |--------------------------------------------------------------------|------------------|
| `traefik/tcp/services/mytcpservice/loadbalancer/servers/0/scheme` | `http` | | `traefik/tcp/services/mytcpservice/loadbalancer/servers/0/address` | `xx.xx.xx.xx:xx` |
??? info "`traefik/tcp/services/<service_name>/loadbalancer/terminationdelay`" ??? info "`traefik/tcp/services/<service_name>/loadbalancer/terminationdelay`"