Hello
I am trying to protect a container with Authelia. This is the list of Traefik labels I have set to the container:
labels:
- traefik.enable=true
- traefik.docker.network=traefik_proxy
- traefik.http.services.myservice.loadbalancer.server.port=8989
- traefik.http.routers.myservice.middlewares=authelia@docker
- traefik.http.routers.myservice.rule=Host(`myservice.mydomain.com`)
- traefik.http.routers.myservice.entrypoints=https
- traefik.http.routers.myservice.tls=true
Traefik container:
traefik:
container_name: traefik
hostname: docker
image: traefik:latest
restart: always
domainname: mydomain.com
ports:
- 80:80
- 443:443
- 7070:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ${CONFIG}/traefik:/etc/traefik
- ${CONFIG}/traefik/log:/var/log/traefik
environment:
- PUID=${PUID}
- PGID=${PGID}
networks:
- default
- traefik_proxy
labels:
- traefik.http.routers.http-catchall.rule=HostRegexp(`{any:.+}`)
- traefik.http.routers.http-catchall.entrypoints=http
- traefik.http.routers.http-catchall.middlewares=redirect-to-https
- traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https
- traefik.http.middlewares.https_redirect.redirectscheme.permanent=true
- traefik.http.routers.api.service=api@internal
Traefik version: 2.4.0
Authelia version: 4.25.2
What am I doing wrong?
Thanks for any suggestions!