From f81f85cea2fc2a74c381ffee614b315b78633bb2 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Mon, 15 Feb 2021 12:04:04 +0100 Subject: [PATCH] Add missing doc about servers transport. --- .../routing/providers/consul-catalog.md | 22 +++++++++++++------ docs/content/routing/providers/ecs.md | 12 ++++++++-- docs/content/routing/providers/kv.md | 8 +++++++ docs/content/routing/providers/marathon.md | 8 +++++++ docs/content/routing/providers/rancher.md | 10 ++++++++- docs/content/routing/services/index.md | 2 +- 6 files changed, 51 insertions(+), 11 deletions(-) diff --git a/docs/content/routing/providers/consul-catalog.md b/docs/content/routing/providers/consul-catalog.md index 735a55f68..28121980e 100644 --- a/docs/content/routing/providers/consul-catalog.md +++ b/docs/content/routing/providers/consul-catalog.md @@ -130,8 +130,17 @@ you'd add the tag `traefik.http.services.{name-of-your-choice}.loadbalancer.pass traefik.http.services.myservice.loadbalancer.server.scheme=http ``` +??? info "`traefik.http.services..loadbalancer.serverstransport`" + + See [serverstransport](../services/index.md#serverstransport) for more information. + + ```yaml + traefik.http.services..loadbalancer.serverstransport=foobar + ``` + ??? info "`traefik.http.services..loadbalancer.passhostheader`" - + + See [pass Host header](../services/index.md#pass-host-header) for more information. ```yaml traefik.http.services.myservice.loadbalancer.passhostheader=true @@ -201,12 +210,12 @@ you'd add the tag `traefik.http.services.{name-of-your-choice}.loadbalancer.pass traefik.http.services.myservice.loadbalancer.healthcheck.followredirects=true ``` -??? info "`traefik.http.services..loadbalancer.sticky`" +??? info "`traefik.http.services..loadbalancer.sticky.cookie`" See [sticky sessions](../services/index.md#sticky-sessions) for more information. ```yaml - traefik.http.services.myservice.loadbalancer.sticky=true + traefik.http.services.myservice.loadbalancer.sticky.cookie=true ``` ??? info "`traefik.http.services..loadbalancer.sticky.cookie.httponly`" @@ -242,10 +251,9 @@ you'd add the tag `traefik.http.services.{name-of-your-choice}.loadbalancer.pass ``` ??? info "`traefik.http.services..loadbalancer.responseforwarding.flushinterval`" - - - FlushInterval specifies the flush interval to flush to the client while copying the response body. - + + See [response forwarding](../services/index.md#response-forwarding) for more information. + ```yaml traefik.http.services.myservice.loadbalancer.responseforwarding.flushinterval=10 ``` diff --git a/docs/content/routing/providers/ecs.md b/docs/content/routing/providers/ecs.md index e53646fbf..ff96309dc 100644 --- a/docs/content/routing/providers/ecs.md +++ b/docs/content/routing/providers/ecs.md @@ -133,6 +133,14 @@ you'd add the label `traefik.http.services.{name-of-your-choice}.loadbalancer.pa traefik.http.services.myservice.loadbalancer.server.scheme=http ``` +??? info "`traefik.http.services..loadbalancer.serverstransport`" + + See [serverstransport](../services/index.md#serverstransport) for more information. + + ```yaml + traefik.http.services..loadbalancer.serverstransport=foobar + ``` + ??? info "`traefik.http.services..loadbalancer.passhostheader`" See [pass Host header](../services/index.md#pass-host-header) for more information. @@ -205,12 +213,12 @@ you'd add the label `traefik.http.services.{name-of-your-choice}.loadbalancer.pa traefik.http.services.myservice.loadbalancer.healthcheck.followredirects=true ``` -??? info "`traefik.http.services..loadbalancer.sticky`" +??? info "`traefik.http.services..loadbalancer.sticky.cookie`" See [sticky sessions](../services/index.md#sticky-sessions) for more information. ```yaml - traefik.http.services.myservice.loadbalancer.sticky=true + traefik.http.services.myservice.loadbalancer.sticky.cookie=true ``` ??? info "`traefik.http.services..loadbalancer.sticky.cookie.httponly`" diff --git a/docs/content/routing/providers/kv.md b/docs/content/routing/providers/kv.md index b7aa8a4d7..1e2b5fc7b 100644 --- a/docs/content/routing/providers/kv.md +++ b/docs/content/routing/providers/kv.md @@ -110,6 +110,14 @@ A Story of key & values |-----------------------------------------------------------------|-----------------------------------------| | `traefik/http/services/myservice/loadbalancer/servers/0/url` | `http://:/` | +??? info "`traefik/http/services//loadbalancer/serverstransport`" + + See [serverstransport](../services/index.md#serverstransport) for more information. + + | Key (Path) | Value | + |-----------------------------------------------------------------|----------| + | `traefik/http/services/myservice/loadbalancer/serverstransport` | `foobar` | + ??? info "`traefik/http/services//loadbalancer/passhostheader`" See [pass Host header](../services/index.md#pass-host-header) for more information. diff --git a/docs/content/routing/providers/marathon.md b/docs/content/routing/providers/marathon.md index bef9e2b57..d762bfe72 100644 --- a/docs/content/routing/providers/marathon.md +++ b/docs/content/routing/providers/marathon.md @@ -160,6 +160,14 @@ For example, to change the passHostHeader behavior, you'd add the label `"traefi "traefik.http.services.myservice.loadbalancer.server.scheme": "http" ``` +??? info "`traefik.http.services..loadbalancer.serverstransport`" + + See [serverstransport](../services/index.md#serverstransport) for more information. + + ```json + "traefik.http.services..loadbalancer.serverstransport": "foobar" + ``` + ??? info "`traefik.http.services..loadbalancer.passhostheader`" See [pass Host header](../services/index.md#pass-host-header) for more information. diff --git a/docs/content/routing/providers/rancher.md b/docs/content/routing/providers/rancher.md index 41c59836a..a045643b6 100644 --- a/docs/content/routing/providers/rancher.md +++ b/docs/content/routing/providers/rancher.md @@ -166,6 +166,14 @@ you'd add the label `traefik.http.services.{name-of-your-choice}.loadbalancer.pa - "traefik.http.services.myservice.loadbalancer.server.scheme=http" ``` +??? info "`traefik.http.services..loadbalancer.serverstransport`" + + See [serverstransport](../services/index.md#serverstransport) for more information. + + ```yaml + - "traefik.http.services..loadbalancer.serverstransport=foobar" + ``` + ??? info "`traefik.http.services..loadbalancer.passhostheader`" See [pass Host header](../services/index.md#pass-host-header) for more information. @@ -195,7 +203,7 @@ you'd add the label `traefik.http.services.{name-of-your-choice}.loadbalancer.pa See [health check](../services/index.md#health-check) for more information. ```yaml - - "traefik.http.services.myservice.loadbalancer.healthcheck.interval=10" + - "traefik.http.services.myservice.loadbalancer.healthcheck.interval=10s" ``` ??? info "`traefik.http.services..loadbalancer.healthcheck.path`" diff --git a/docs/content/routing/services/index.md b/docs/content/routing/services/index.md index b2e0287ab..96d4dff5d 100644 --- a/docs/content/routing/services/index.md +++ b/docs/content/routing/services/index.md @@ -480,7 +480,7 @@ By default, `passHostHeader` is true. services: Service01: loadBalancer: - serversTransport = "mytransport" + serversTransport: mytransport ``` !!! info default serversTransport