Suddenly, the dashboard stopped working. I exposed some new containers and after that I wanted to check in the web dashboard and it only shows 404.
This is my docker compose file, I didn't change anything from when it was working:
version: '3'
services:
traefik:
image: "traefik:latest"
container_name: traefik
restart: unless-stopped
security_opt:
- "no-new-privileges:true"
networks:
- traefik
ports:
- "80:80"
- "443:443"
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "./data/traefik.yml:/traefik.yml:ro"
- "./data/acme.json:/acme.json"
- "./data/dynamic_conf.yml:/dynamic_conf.yml"
labels:
- "traefik.enable=true"
- "traefik.http.routers.dashboard.entrypoints=http"
- "traefik.http.routers.dashboard.rule=Host(`traefik.MYDOMAIN.com`)"
- "traefik.http.routers.dashboard.middlewares=traefik-https-redirect"
- "traefik.http.routers.dashboard-secure.entrypoints=https"
- "traefik.http.routers.dashboard-secure.rule=Host(`traefik.MYDOMAIN.com`)"
- "traefik.http.routers.dashboard-secure.tls=true"
- "traefik.http.routers.dashboard-secure.tls.certresolver=http"
- "traefik.http.routers.dashboard-secure.service=api@internal"
- "traefik.http.routers.dashboard-secure.middlewares=admin-auth"
- "providers.file.filename=/dynamic_conf.yml"
- "traefik.http.middlewares.default-auth.basicauth.users=pi:HASHEDPW"
- "traefik.http.middlewares.admin-auth.basicauth.users=admin:HASHEDPW"
- "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https"
networks:
traefik:
name: traefik
driver: bridge
Please tell me what I have to change to get it working again...