traefik dashboard added
This commit is contained in:
parent
f6b35de6ef
commit
c4faee7fd5
|
|
@ -35,3 +35,14 @@
|
||||||
stsPreload= false
|
stsPreload= false
|
||||||
|
|
||||||
stsSeconds= 15768000
|
stsSeconds= 15768000
|
||||||
|
# Dynamic Configuration
|
||||||
|
[http.routers.my-api]
|
||||||
|
rule = "Host(`traefik.herrmann.es`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))"
|
||||||
|
service = "api@internal"
|
||||||
|
middlewares = ["auth"]
|
||||||
|
|
||||||
|
[http.middlewares.auth.basicAuth]
|
||||||
|
users = [
|
||||||
|
"dashboard:$apr1$15pgxrml$JcVZtleLvl2FfXa9fZjdB.",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,8 @@
|
||||||
address = ":443"
|
address = ":443"
|
||||||
|
|
||||||
[api]
|
[api]
|
||||||
insecure = true
|
# insecure = true
|
||||||
|
dashboard = true
|
||||||
|
|
||||||
[providers]
|
[providers]
|
||||||
# Enable Docker configuration backend
|
# Enable Docker configuration backend
|
||||||
|
|
@ -51,4 +52,3 @@
|
||||||
# Required
|
# Required
|
||||||
#
|
#
|
||||||
entryPoint = "web"
|
entryPoint = "web"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue