mirror of
https://github.com/traefik/traefik.git
synced 2025-11-29 14:41:15 +01:00
Add documentation for loadbalancer.server.url in Docker and Swarm providers
This commit is contained in:
parent
00b64f0ca6
commit
44219f9a1c
@ -285,6 +285,15 @@ you'd add the label `traefik.http.services.<name-of-your-choice>.loadbalancer.pa
|
|||||||
"traefik.http.services.myservice.loadbalancer.server.scheme=http"
|
"traefik.http.services.myservice.loadbalancer.server.scheme=http"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
??? info "`traefik.http.services.<service_name>.loadbalancer.server.url`"
|
||||||
|
|
||||||
|
Defines the service URL.
|
||||||
|
This option cannot be used in combination with `port` or `scheme` definition.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
traefik.http.services.<service_name>.loadbalancer.server.url=http://foobar:8080
|
||||||
|
```
|
||||||
|
|
||||||
??? info "`traefik.http.services.<service_name>.loadbalancer.serverstransport`"
|
??? info "`traefik.http.services.<service_name>.loadbalancer.serverstransport`"
|
||||||
|
|
||||||
Allows to reference a ServersTransport resource that is defined either with the File provider or the Kubernetes CRD one.
|
Allows to reference a ServersTransport resource that is defined either with the File provider or the Kubernetes CRD one.
|
||||||
|
|||||||
@ -301,6 +301,15 @@ you'd add the label `traefik.http.services.<name-of-your-choice>.loadbalancer.pa
|
|||||||
- "traefik.http.services.myservice.loadbalancer.server.scheme=http"
|
- "traefik.http.services.myservice.loadbalancer.server.scheme=http"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
??? info "`traefik.http.services.<service_name>.loadbalancer.server.url`"
|
||||||
|
|
||||||
|
Defines the service URL.
|
||||||
|
This option cannot be used in combination with `port` or `scheme` definition.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
traefik.http.services.<service_name>.loadbalancer.server.url=http://foobar:8080
|
||||||
|
```
|
||||||
|
|
||||||
??? info "`traefik.http.services.<service_name>.loadbalancer.server.weight`"
|
??? info "`traefik.http.services.<service_name>.loadbalancer.server.weight`"
|
||||||
|
|
||||||
Overrides the default weight.
|
Overrides the default weight.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user