Configurable API & Dashboard base path
Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
This commit is contained in:
parent
090db6d4b0
commit
0ec12c7aa7
12 changed files with 253 additions and 50 deletions
|
@ -42,6 +42,9 @@ Access log format: json | common (Default: ```common```)
|
|||
`--api`:
|
||||
Enable api/dashboard. (Default: ```false```)
|
||||
|
||||
`--api.basepath`:
|
||||
Defines the base path where the API and Dashboard will be exposed. (Default: ```/```)
|
||||
|
||||
`--api.dashboard`:
|
||||
Activate dashboard. (Default: ```true```)
|
||||
|
||||
|
|
|
@ -42,6 +42,9 @@ Access log format: json | common (Default: ```common```)
|
|||
`TRAEFIK_API`:
|
||||
Enable api/dashboard. (Default: ```false```)
|
||||
|
||||
`TRAEFIK_API_BASEPATH`:
|
||||
Defines the base path where the API and Dashboard will be exposed. (Default: ```/```)
|
||||
|
||||
`TRAEFIK_API_DASHBOARD`:
|
||||
Activate dashboard. (Default: ```true```)
|
||||
|
||||
|
|
|
@ -294,6 +294,7 @@
|
|||
name1 = "foobar"
|
||||
|
||||
[api]
|
||||
basePath = "foobar"
|
||||
insecure = true
|
||||
dashboard = true
|
||||
debug = true
|
||||
|
|
|
@ -330,6 +330,7 @@ providers:
|
|||
name0: foobar
|
||||
name1: foobar
|
||||
api:
|
||||
basePath: foobar
|
||||
insecure: true
|
||||
dashboard: true
|
||||
debug: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue