# One more Time: 404 for Dashboard

**URL:** <https://community.traefik.io/t/one-more-time-404-for-dashboard/21870>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [March 14, 2024, 9:20pm UTC](https://community.traefik.io/t/one-more-time-404-for-dashboard/21870 "2024-03-14T21:20:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Logg.Sar](https://avatars.discourse-cdn.com/v4/letter/l/3e96dc/32.png) [@Logg.Sar](https://community.traefik.io/u/Logg.Sar)\
**Post date:** [March 14, 2024, 9:20pm UTC](https://community.traefik.io/t/one-more-time-404-for-dashboard/21870/1 "2024-03-14T21:20:43Z")

</div>

Hi there

its probably only a small thing, but I dont find it...  
I´m trying to set up a traefik config with DNS-Challenge.

The challenge is working (I have certs for all the domains), but somehow neither the dashboard nor the intendet nextcloud is working.

First step is the dashboard.  
Here is my docker-compose

```auto
version: '3'
services:
  traefik:
    image: traefik:latest
    container_name: traefik
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
# networks:
# - traefik_web
    ports:
      - 80:80
      - 8080:8080
      - 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
      - ./logs/:/logs/
    environment:
    - DESEC_TOKEN= *******************************
    command:
      - "--log.level=DEBUG"
      - "--api.insecure=true"
      - "--providers.docker=true"
      - "--providers.docker.exposedByDefault=false"
      - "--providers.docker.network=traefik_web"
      - "--entrypoints.http.address=:80"
      - "--entrypoints.http.http.redirections.entrypoint.to=web"
      - "--entrypoints.http.http.redirections.entrypoint.to.scheme=websecure"
      - "--entrypoints.websecure.address=:443"
      - "--log.filePath=/logs/traefik.log"
      - "--accesslog=true"
      - "--accesslog.filePath=/logs/access.log"
    labels:
      - "traefik.enable=true"
      - "traefik.http.middlewares.traefik-auth.basicauth.users=user: ***********************************"
      - "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https"
      - "traefik.http.routers.traefik.entrypoints=web"
      - "traefik.http.routers.traefik.rule=Host(`domain.eu`,`traefik.domain.eu`,`192.168.0.222`)"
      - "traefik.http.routers.traefik.middlewares=traefik-https-redirect"
      - "traefik.http.routers.traefik-secure.entrypoints=websecure"
      - "traefik.http.routers.traefik-secure.rule=Host(`domain.eu`,traefik.domain.eu,`192.168.0.222`)"
      - "traefik.http.routers.traefik-secure.tls=true"
      - "traefik.http.routers.traefik-secure.tls.certresolver=desec"
      - "traefik.http.routers.traefik-secure.tls.domains[0].main=domain.eu"
      - "traefik.http.routers.traefik-secure.tls.domains[0].sans=*.domain.eu"
      - "traefik.http.routers.traefik-secure.service=api@internal"
      - "traefik.http.routers.traefik-secure.middlewares=secHeaders@file,traefik-auth"
      - "providers.file.filename=/dynamic_conf.yml"

#networks:
# traefik_web:
# external: true

```

and the traefik.yml

```auto
log:
# level: error
  level: debug
api:
  dashboard: true
entryPoints:
  web:
    address: ":80"
  websecure:
    address: ":443"
providers:
  docker:
    endpoint: "unix:///var/run/docker.sock"
    exposedByDefault: false
  file:
    filename: "./dynamic_conf.yml"
certificatesResolvers:
  desec:
    acme:
      email: me@home
      storage: acme.json
      dnsChallenge:
        provider: desec
        delayBeforeCheck: 90
        resolvers:
          - "212.227.123.17:53"
          - "212.227.123.18:53"

```

I´m blind - where is my error?

Thanks  
Logg.Sar

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [March 15, 2024, 5:45am UTC](https://community.traefik.io/t/one-more-time-404-for-dashboard/21870/2 "2024-03-15T05:45:40Z")

</div>

One more time 😉: you can only use `traefik.yml` or compose `command:` for static config, not both, decide for one.

---

<div class="post-metadata">

**Author:** ![Logg.Sar](https://avatars.discourse-cdn.com/v4/letter/l/3e96dc/32.png) [@Logg.Sar](https://community.traefik.io/u/Logg.Sar)\
**Post date:** [April 1, 2024, 1:01pm UTC](https://community.traefik.io/t/one-more-time-404-for-dashboard/21870/3 "2024-04-01T13:01:09Z")

</div>

Hi bluepuma77

of course - my fault.  
Thanks for pointing me to my idioticy
