InsecureSkipVerify = true

hello,

How I can configure only for a specific backend the option InsecureSkipVerify = true?

I searched a lot and don`t found anything that helps me.

Any idea here?

As far as I know you can only set this option globally. I also tried to achieve the same thing but finally gave up on this one.

Initially, I configured this globally, but the other services we have in docker with traefik started giving certificate errors.

It would be nice if there was a feature to configure this per service.

To set the InsecureSkipVerify for each service please refer to [1] and [2] as the following example: -

## Dynamic configuration
http:

  services:
    Service01:
      loadBalancer:
        serversTransport: mytransport

  serversTransports:
    mytransport:
      insecureSkipVerify: true

[1] Service: ServersTransport

[2] ServersTransport: InsecureSkipVerify

2 Likes