title: Traefik Intel NUC Lan
body: <p>Im trying to use Traefik is as gateway on my Intel NUC in my home network.</p>
  <p>When I go to <code>https://nuc.local/traefik</code> I get a <code>404</code> from Traefik instead of the dashboard.</p>
  <p>These are the logs from the traefik docker container:</p>
  <pre><code>time=&quot;2021-01-21T11:45:12+01:00&quot; level=debug msg=&quot;Loading ACME certificates [nuc.local]...&quot; providerName=http.acme routerName=traefik-secure rule=&quot;Host(`nuc.local`) &amp;&amp; PathPrefix(`/traefik`)&quot;
  time=&quot;2021-01-21T11:45:12+01:00&quot; level=debug msg=&quot;Building ACME client...&quot; providerName=http.acme
  time=&quot;2021-01-21T11:45:12+01:00&quot; level=debug msg=&quot;https://acme-v02.api.letsencrypt.org/directory&quot; providerName=http.acme
  time=&quot;2021-01-21T11:45:13+01:00&quot; level=debug msg=&quot;Using HTTP Challenge provider.&quot; providerName=http.acme
  time=&quot;2021-01-21T11:45:13+01:00&quot; level=debug msg=&quot;legolog: [INFO] [nuc.local] acme: Obtaining bundled SAN certificate&quot;
  time=&quot;2021-01-21T11:45:13+01:00&quot; level=error msg=&quot;Unable to obtain ACME certificate for domains \&quot;nuc.local\&quot;: unable to generate a certificate for the domains [nuc.local]: acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rejectedIdentifier :: Error creating new order :: Cannot issue for \&quot;nuc.local\&quot;: Domain name does not end with a valid public suffix (TLD), url: &quot; providerName=http.acme routerName=traefik-secure rule=&quot;Host(`nuc.local`) &amp;&amp; PathPrefix(`/traefik`)&quot;
  </code></pre>
  <p>My traefik docker-compose:</p>
  <pre><code>version: '3'
  
  services:
    traefik:
      image: traefik:v2.0
      container_name: traefik
      restart: unless-stopped
      security_opt:
        - no-new-privileges:true
      networks:
        - proxy
      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
      labels:
        - &quot;traefik.enable=true&quot;
        - &quot;traefik.http.routers.traefik.entrypoints=http&quot;
        - &quot;traefik.http.routers.traefik.rule=Host(`nuc.local`) &amp;&amp; PathPrefix(`/traefik`)&quot;
        - &quot;traefik.http.middlewares.traefik-auth.basicauth.users=theo:$$apr1$$7s2uclNV$$FskVZNAeCWKJXRbWRhlL90&quot;
        - &quot;traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https&quot;
        - &quot;traefik.http.routers.traefik.middlewares=traefik-https-redirect&quot;
        - &quot;traefik.http.routers.traefik-secure.entrypoints=https&quot;
        - &quot;traefik.http.routers.traefik-secure.rule=Host(`nuc.local`) &amp;&amp; PathPrefix(`/traefik`)&quot;
        - &quot;traefik.http.routers.traefik-secure.middlewares=traefik-auth&quot;
        - &quot;traefik.http.routers.traefik-secure.tls=true&quot;
        - &quot;traefik.http.routers.traefik-secure.tls.certresolver=http&quot;
        - &quot;traefik.http.routers.traefik-secure.service=api@internal&quot;
  
  networks:
    proxy:
      external: true
  </code></pre>
  <p>My traefik.yml:</p>
  <pre><code>api:
    dashboard: true
  
  entryPoints:
    http:
      address: &quot;:80&quot;
    https:
      address: &quot;:443&quot;
  
  log:
    level: &quot;DEBUG&quot;    
  
  providers:
    docker:
      endpoint: &quot;unix:///var/run/docker.sock&quot;
      exposedByDefault: false
  
  certificatesResolvers:
    http:
      acme:
        email: theodcb@pm.me
        storage: acme.json
        httpChallenge:
          entryPoint: http
  </code></pre>
  <p>I don't know how to fix this. Thanks in advance.</p>