forked from Ivasoft/traefik
Fix Getting started
This commit is contained in:
@@ -29,7 +29,7 @@ Attach labels to your containers and let Traefik do the rest!
|
||||
my-container:
|
||||
# ...
|
||||
labels:
|
||||
- traefik.http.services.my-container.rule=Host(my-domain)
|
||||
- traefik.http.routers.my-container.rule=Host(`my-domain`)
|
||||
```
|
||||
|
||||
??? example "Configuring Docker Swarm & Deploying / Exposing Services"
|
||||
@@ -53,7 +53,7 @@ Attach labels to your containers and let Traefik do the rest!
|
||||
my-container:
|
||||
deploy:
|
||||
labels:
|
||||
- traefik.http.services.my-container.rule=Host(my-domain)
|
||||
- traefik.http.routers.my-container.rule=Host(`my-domain`)
|
||||
```
|
||||
|
||||
!!! important "Labels in Docker Swarm Mode"
|
||||
|
||||
@@ -22,7 +22,7 @@ You can write these configuration elements:
|
||||
|
||||
``` toml
|
||||
# Enabling the file provider
|
||||
[providers.files]
|
||||
[providers.file]
|
||||
|
||||
[http]
|
||||
# Add the router
|
||||
|
||||
Reference in New Issue
Block a user