title: Archivebox in docker behind traefik v2
body: <p>I'm trying to install Archivebox behind Traefik. Unfortunately, as soon as the container is started, I cannot reach the website (Traefik returns me an error 404 not found message).</p>
  <p>But if I release ports locally via the container, I get it.</p>
  <p>However, the archive box should be behind traefik.
  Does anyone have an idea what could be the reason?</p>
  <p><strong>Information about the Server</strong></p>
  <p>Server: Debian 11</p>
  <p>Docker: 20.10.14</p>
  <p>Docker Compose: 1.29.2</p>
  <pre><code>version: '2.4'
  
  services:
    archivebox:
      image: archivebox/archivebox:latest
      command: archivebox server 0.0.0.0:8000
      container_name: manuals
      stdin_open: true
      tty: true
      environment:
        - ALLOWED_HOSTS=*
        - PUID=1000
        - PGID=1000
        - TZ=Europe/Berlin
        - USE_COLOR=True
        - SHOW_PROGRESS=False
        - MEDIA_MAX_SIZE=750m
      volumes:
        - ./data:/data
      labels:
        - &quot;traefik.enable=true&quot;
        - &quot;traefik.http.routers.manuals.entrypoints=http&quot;
        - &quot;traefik.http.routers.manuals.rule=Host(`manuals.domain.de`)&quot;
        - &quot;traefik.http.middlewares.manuals-https-redirect.redirectscheme.scheme=https&quot;
        - &quot;traefik.http.routers.manuals.middlewares=manuals-https-redirect&quot;
        - &quot;traefik.http.routers.manuals-secure.entrypoints=https&quot;
        - &quot;traefik.http.routers.manuals-secure.rule=Host(`manuals.domain.de`)&quot;
        - &quot;traefik.http.routers.manuals-secure.tls=true&quot;
        - &quot;traefik.http.routers.manuals-secure.tls.certresolver=http&quot;
        - &quot;traefik.http.routers.manuals-secure.service=manuals&quot;
        - &quot;traefik.http.services.manuals.loadbalancer.server.port=8000&quot;
        - &quot;traefik.docker.network=traefik&quot;
        - &quot;traefik.http.routers.manuals-secure.middlewares=secHeaders@file&quot;
        - &quot;com.centurylinklabs.watchtower.enable=true&quot;
  </code></pre>