mirror of
https://github.com/traefik/traefik.git
synced 2025-11-12 22:31:44 +01:00
fix KV service docs for http:url and tcp:address
This commit is contained in:
parent
4fcf7bf2de
commit
367e797d5f
@ -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`"
|
||||||
|
|
||||||
@ -381,9 +373,9 @@ 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`"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user