I'm having trouble launching traefik correctly. I already have multiple containers running with nginx reverse proxies and wanted to see about removing nginx and using Traefik
My traefik config file looks like this:
[entryPoints.web]
address = ":80"
[entryPoints.web.http.redirections.entryPoint]
to = "websecure"
scheme = "https"
[entryPoints.websecure]
address = ":443"
[api]
dashboard = true
[providers.docker]
watch = true
network = "traefik"
[providers.file]
filename = "traefik_dynamic.toml"
watch = true
I have the dynamic file looking like this:
[http.middlewares.simpleAuth.basicAuth]
users = [
"admin:password"
]
[http.routers.api]
rule = "Host(`my_domain.com`)"
entrypoints = ["web"]
middlewares = ["simpleAuth"]
service = "api@internal"
[tls.stores]
[tls.stores.default]
[tls.stores.default.defaultCertificate]
certFile = "/domain.cert"
keyFile = "/domain.key"
When I launch traefik I mount the ssl crt and key to the route of the file system and have ran docker exec and can see them there. So I'm not sure what is wrong here? Even when I continue past the https error I just see 404 page not found

