Hello,
I have a error when I try to connect to my traefik with my ip and infinite domain.
I use docker compose with this options:
services:
nginx:
container_name: nginx
hostname: nginx
image: nginx:latest
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.shit_traffic.rule=PathPrefix(`/`) || HostRegexp(`*.pom.com`) || Host(`test3.pom.com`)'
- 'traefik.http.routers.shit_traffic.priority=1'
- 'traefik.http.routers.shit_traffic.service=shit_traffic'
- 'traefik.http.services.shit_traffic.loadBalancer.server.port=14143'
- 'traefik.http.routers.shit_traffic.tls=true'
- 'traefik.http.routers.shit_traffic.tls.certResolver=leresolver'
- 'traefik.http.routers.shit_traffic.tls.options=modern@file'
- 'traefik.http.routers.shit_traffic.tls.domains[0].main=pom.com'
- 'traefik.http.routers.shit_traffic.tls.domains[0].sans=*.pom.com'
- 'traefik.http.routers.shit_traffic.middlewares=basic_chain@file'
- 'traefik.http.services.shit_traffic.loadBalancer.passHostHeader=true'
- 'traefik.http.routers.shit_traffic_obvious.rule=PathPrefix(`/`)'
- 'traefik.http.routers.shit_traffic_obvious.priority=1'
- 'traefik.http.routers.shit_traffic_obvious.service=shit_traffic'
If I try to connect with test3.pom.com I have no problem.
But if I try to connect with the ip directly or test2.pom.com I have this error:
level=debug msg="http: TLS handshake error from test2.pom.com:40098: tls: no certificates configured"
Where I miss something ?
Best regards