Hi there
Running Traefik v2.5 in a docker-compose here. I'm using HTTPS on localhost with a mkcert
generated certificate. Hence I've a golang template saying "if domain is localhost, then sniTrict = false, otherwise true". Since I'm not 100% sure of my template, I'm wondering how I can check the live value for a (this) setting ? I saw nothing in the dashboard, maybe the API ?
For reference, here's my tls.yml
---
tls:
stores:
default:
defaultCertificate:
certFile: /etc/certs/localhost.crt.pem
keyFile: /etc/certs/localhost.key.pem
options:
mintls: # random key name
minVersion: "VersionTLS12"
sniStrict: {{ $domain := env "DOMAIN" }}{{ if contains "localhost" $domain }}false{{ else }}true{{ end }}
sniStrict: false
cipherSuites:
- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
- TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
- TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
- TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305