Hi,
yesterday i recognized that Traefik dosen't bind the IPv6 ports of my entry points (80,443)
when use netstat -an I get
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::113 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
port 80 and 443 should also be listet as tcp6.
traefik.toml:
[log]
level = "INFO"
[providers.docker]
exposedByDefault = false
endpoint = "unix:///var/run/docker.sock"
[providers.file]
directory = "/tls/"
[api]
dashboard = false
debug = false
insecure = false
[entryPoints]
[entryPoints.web]
address = ":80"
[entryPoints.web-secure]
address = ":443"
[certificatesResolvers]
[certificatesResolvers.default.acme]
email = "sonic@dersonic.org"
storage = "acme.json"
[certificatesResolvers.default.acme.tlsChallenge]
docker-compose.yml:
version: '3.6'
services:
traefik:
image: traefik:latest
command: --configFile=/traefik.toml
restart: unless-stopped
ports:
- "80:80"
- "443:443"
# - "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /opt/traefik/traefik.toml:/traefik.toml
- /opt/traefik/acme.json:/acme.json
- /opt/traefik/tls:/tls
networks:
traefik:
networks:
traefik:
Thanks for your time!