It's my first expiriens with traefik 2. I use traefik with dashboard and without ssl in first step. I wanna see dashboard page in http and after that set tls. But i have "Bad Gateway" error after start traefik
My logs:
docker logs traefik
time="2022-08-26T09:12:25+03:00" level=info msg="Configuration loaded from file: /traefik.yml"
docker-compose:
version: '3'
services:
traefik:
image: traefik:v2.8
container_name: traefik
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- 80:80
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./data/traefik.yml:/traefik.yml:ro
- ./ssl:/ssl
labels:
- "traefik.enable=true"
- "traefik.http.routers.traefik.entrypoints=http"
- "traefik.http.routers.traefik.rule=Host(`traefik.team-itonline.ru`)"
- "traefik.http.services.traefik-traefik.loadbalancer.server.port=888"
./data/traefik.yml:
entryPoints:
http:
address: ":80"
http:
routers:
http-catchall:
rule: hostregexp(`{host:.+}`)
entrypoints:
- http
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
api:
dashboard: true
What is my mistake?