traefik dashboard added
This commit is contained in:
parent
f6b35de6ef
commit
c4faee7fd5
|
|
@ -35,3 +35,14 @@
|
|||
stsPreload= false
|
||||
|
||||
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"
|
||||
|
||||
[api]
|
||||
insecure = true
|
||||
# insecure = true
|
||||
dashboard = true
|
||||
|
||||
[providers]
|
||||
# Enable Docker configuration backend
|
||||
|
|
@ -51,4 +52,3 @@
|
|||
# Required
|
||||
#
|
||||
entryPoint = "web"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue