I have a service I want to proxify and this service speaks HTTPS only:
labels:
- traefik.enable=true
- traefik.http.routers.unifi.rule=Host(`unifi.example.com`)
- traefik.http.services.unifi.loadbalancer.server.port=8443
- traefik.http.services.unifi.loadbalancer.server.scheme=https
When accessing it, Traefik logs an error:
2025-07-17T12:47:12+02:00 ERR 500 Internal Server Error error="tls: failed to verify certificate: x509: cannot validate certificate for 172.18.0.48 because it doesn't contain any IP SANs"
I thought that adding the lines below to the root of traefik.yaml would help, but this does not change the error:
serversTransports:
insecureSkipVerify: true
My understanding is that the above is a global setting, so it should apply to the entryPoint.websecure defined a few lines before - but apparently not.
How can I tell Traefik not to verify the TLS connection when in reverse proxy mode?