Documentation (syntax) for tls.options

Where can I find format and examples for this option traefik.http.routers.myrouter.tls.options=

https://docs.traefik.io/v2.1/routing/providers/docker/#routers

I see, but what is foobar? How to put options here? What format?

  • "traefik.http.routers.myrouter.tls.options=foobar"

Actually, I think better to explain what I want. May be it is not possible via this option.
I want to have A+ sert instead of B.

So, I want to set tls min version.

I use docker-compose.yml and this this part of my config:

    command:
      - --log.level=DEBUG
#      - --api.insecure
      - --entrypoints.web.address=:80
      - --entrypoints.websecure.address=:443
      - --providers.docker=true
      - --providers.docker.exposedByDefault=false
      - --certificatesresolvers.le.acme.email=email@email.com
      - --certificatesResolvers.le.acme.storage=/storage/acme.json
      - --certificatesResolvers.le.acme.httpChallenge=true
      - --certificatesResolvers.le.acme.httpChallenge.entryPoint=web
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.http-catchall.rule=hostregexp(`{host:.+}`)"
      - "traefik.http.routers.http-catchall.entrypoints=web"
      - "traefik.http.routers.http-catchall.middlewares=redirect-to-https"
      - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"

What options should I provide for this?

1 Like