diff --git a/example.cfg b/example.cfg index 999f9a3..5ea4899 100644 --- a/example.cfg +++ b/example.cfg @@ -72,6 +72,9 @@ protocols: { name: "tls"; host: "localhost"; port: "993"; sni_hostnames: [ "mail.rutschle.net", "mail.englishintoulouse.com" ]; log_level: 0; }, { name: "tls"; host: "localhost"; port: "xmpp-client"; sni_hostnames: [ "im.rutschle.net", "im.englishintoulouse.com" ]; log_level: 0;}, +# Let's Encrypt (tls-sni-* challenges) + { name: "tls"; host: "localhost"; port: "letsencrypt-client"; sni_hostnames: [ "*.*.acme.invalid" ]; log_level: 0;}, + # catch anything else TLS { name: "tls"; host: "localhost"; port: "443"; }, @@ -80,9 +83,6 @@ protocols: # Jabber { name: "regex"; host: "localhost"; port: "5222"; regex_patterns: [ "jabber" ]; }, -# Let's Encrypt (tls-sni-* challenges) - { name: "tls"; host: "localhost"; port: "letsencrypt-client"; sni_hostnames: [ "*.*.acme.invalid" ]; log_level: 0;}, - # Catch-all { name: "regex"; host: "localhost"; port: "443"; regex_patterns: [ "" ]; },