Dashboard en ping not working anymore

Hi everyone!

I have a problem with the Traefik dashboard. I cannot access it from traefik.infra.xxx.nl. It just says 404 page not found when I try to access it. Can someone tell me what I have done wrong?

Also my health check stopped working. They seem related as the problems came at the same time. If I try to do the health check using the command traefik healthcheck, I get a message that I need to enable ping, even though that is already enabled.

All other services are working, just not the traefik dashboard.

services:
  reverse-proxy:
    image: traefik:v3.3.3
    restart: always
    command:
      - --configFile=/etc/traefik/conf/traefik.yml
    ports:
      - "80:80"
      - "443:443"
      - "2222:2222/tcp"
    expose:
      - 8080
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      # - ./traefik.yml:/etc/traefik/traefik.yml
      - ./logs/:/etc/traefik/logs/
      - ./acme.json:/acme.json
      - ./xxx-private-key.pem:/etc/traefik/xxx-private-key.pem
      - ./conf/:/etc/traefik/conf/
    env_file:
      - .env
    hostname: traefik-reverse-proxy-1
    networks:
      - traefik
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.api.rule=Host(`traefik.infra.xxx.nl`)"
      - "traefik.http.routers.api.service=api@internal"
      - "traefik.http.routers.api.entrypoints=websecure"
      - "traefik.http.routers.api.tls=true"
      - "traefik.http.routers.api.middlewares=auth@file"
      - "traefik.http.routers.api.tls.certresolver=myresolver"
      - "traefik.http.routers.traefik-router.tls.domains[0].main=*.wildcard.domain"

      - homepage.group=Management
      - homepage.name=Traefik
      - homepage.icon=traefik.png
      - homepage.href=https://traefik.infra.xxx.nl/dashboard/#/
      - homepage.description=Traefik reverse proxy
      - homepage.widget.type=traefik
      - homepage.widget.url=http://traefik-reverse-proxy-1:8080
    healthcheck:
      test: traefik healthcheck

networks:
  traefik:
    external: true

entryPoints:
  web:
    address: ":80"
  websecure:
    address: ":443"
  metrics:
    address: ":8082"
  ssh:
    address: ":2222"

certificatesResolvers:
  myresolver:
    acme:
      email: XXXX
      storage: acme.json
      dnsChallenge:
        provider: XXXX
        delayBeforeCheck: "0"
        resolvers:
          - "8.8.8.8:53"
          - "1.1.1.1:53"

http:
  middlewares:
    auth:
      forwardAuth:
        address: "http://auth:4181"
        trustForwardHeader: true
        authResponseHeaders:
          - "X-Forwarded-User"
    ip-whitelist:
      ipWhiteList:
        sourceRange:
          - "XXX"
    auth-chain:
      chain:
        middlewares:
          - ip-whitelist  # Allowlisted IPs bypass auth
          - auth          # Others must authenticate

log:
  level: INFO

accesslog:
  filePath: "/etc/traefik/logs/access.log"
  bufferingSize: 50
  filters:
    statusCodes:
      - "400-498"
      - "500-600"

api:
  dashboard: true
  insecure: true

ping: {}

metrics:
  prometheus:
    buckets:
      - 0.1
      - 0.3
      - 1.2
      - 5.0
    addEntryPointsLabels: true
    addRoutersLabels: true
    addServicesLabels: true
    entryPoint: metrics

providers:
  docker:
    endpoint: "unix:///var/run/docker.sock"
    exposedByDefault: false
  file:
    directory: /etc/traefik/conf
    watch: true