Skip to content

How can you configure Traefik Strict SNI so Traefik drops requests that aren't matched? #674

Answered by clintbullock
ttilberg asked this question in Q&A
Discussion options

You must be logged in to vote

I added an example configuration to discussion 112 with strict SNI checking enabled that will return the error below rather than a 404. It's also my understanding that the option required, sniStrict: true, cannot be set with Docker labels. The provided example has an extra /letsencrypt/tls.yml file that must be deployed to the server. That should be the only option that matters for this requirement in the giant config file that I inlcuded in that discussion.

The new curl error:

curl: (35) error:0A000458:SSL routines::tlsv1 unrecognized name

All of the relevant config parts:

config/deploy.yml

traefik:
  options:
    volume:
      - "/letsencrypt/tls.yml:/letsencrypt/tls.yml"
  args:
    p…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@ttilberg
Comment options

@nickhammond
Comment options

@ttilberg
Comment options

@Sija
Comment options

Comment options

You must be logged in to vote
1 reply
@ttilberg
Comment options

Answer selected by ttilberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants