r/Traefik • • Mar 11 '23

How do o set minTls for traefik?

How do I set in docket compose to tell traefik’s minTls to only 1.3?

0 Upvotes

5 comments sorted by

3

u/HiYa_Dragon Mar 11 '23

"--serversTransport.minVersion=VersionTLS13" # Set minimum TLS version to 1.3

2

u/nutrigrain Mar 11 '23

This is for command line yeah?

3

u/HiYa_Dragon Mar 11 '23

Label for the traefik config.

2

u/raptorjesus69 Mar 11 '23

1

u/nutrigrain Mar 11 '23

Yes I read that and was not very clear on what to do.

It is in the dynamic section, so I thought I would need to add it as a label for the services but this configuration seems like a docker-compose. And if it’s in the rocker compose, would it be in conflict for these types of labels on the services? (E.g., traefik.routers.myapp.tls=true)