Improve providers documentation.
This commit is contained in:
parent
49814b92fe
commit
9db9143366
9 changed files with 784 additions and 157 deletions
|
@ -26,7 +26,7 @@ In the process, Traefik will make sure that the user is authenticated (using the
|
|||
|
||||
Static configuration:
|
||||
|
||||
```toml tab="TOML"
|
||||
```toml tab="File (TOML)"
|
||||
[entryPoints]
|
||||
[entryPoints.web]
|
||||
# Listen on port 8081 for incoming requests
|
||||
|
@ -37,7 +37,7 @@ Static configuration:
|
|||
[providers.file]
|
||||
```
|
||||
|
||||
```yaml tab="YAML"
|
||||
```yaml tab="File (YAML)"
|
||||
entryPoints:
|
||||
web:
|
||||
# Listen on port 8081 for incoming requests
|
||||
|
@ -48,6 +48,14 @@ providers:
|
|||
file: {}
|
||||
```
|
||||
|
||||
```bash tab="CLI"
|
||||
# Listen on port 8081 for incoming requests
|
||||
--entryPoints.web.address=:8081
|
||||
|
||||
# Enable the file provider to define routers / middlewares / services in a file
|
||||
--providers.file
|
||||
```
|
||||
|
||||
Dynamic configuration:
|
||||
|
||||
```toml tab="TOML"
|
||||
|
@ -137,6 +145,14 @@ http:
|
|||
file: {}
|
||||
```
|
||||
|
||||
```bash tab="CLI"
|
||||
# Listen on port 8081 for incoming requests
|
||||
--entryPoints.web.address=":8081"
|
||||
|
||||
# Enable the file provider to define routers / middlewares / services in a file
|
||||
--providers.file
|
||||
```
|
||||
|
||||
Dynamic configuration:
|
||||
|
||||
```toml tab="TOML"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue