docs: update tls termination setting with traefik (#2166)

Had to explicitly configure traefik not to terminate the TLS session for SMTPS in order for the TLS and cipher to match postfix
This commit is contained in:
Olivier Picquenot 2021-09-04 11:29:56 +02:00 committed by GitHub
parent 0d4c787b95
commit 7c4e05e33b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ Feel free to add your configuration if you archived the same goal using differen
version: '3.7' version: '3.7'
services: services:
reverse-proxy: reverse-proxy:
image: traefik:v2.4 image: traefik:latest
container_name: docker-traefik container_name: docker-traefik
restart: always restart: always
command: command:
@ -60,7 +60,7 @@ Feel free to add your configuration if you archived the same goal using differen
version: '2' version: '2'
services: services:
mail: mail:
image: mailserver/docker-mailserver:release-v7.2.0 image: mailserver/docker-mailserver:latest
restart: always restart: always
networks: networks:
- proxy - proxy
@ -72,6 +72,7 @@ Feel free to add your configuration if you archived the same goal using differen
- "traefik.tcp.services.smtp.loadbalancer.server.port=25" - "traefik.tcp.services.smtp.loadbalancer.server.port=25"
- "traefik.tcp.services.smtp.loadbalancer.proxyProtocol.version=1" - "traefik.tcp.services.smtp.loadbalancer.proxyProtocol.version=1"
- "traefik.tcp.routers.smtp-ssl.rule=HostSNI(`*`)" - "traefik.tcp.routers.smtp-ssl.rule=HostSNI(`*`)"
- "traefik.tcp.routers.smtp-ssl.tls=false"
- "traefik.tcp.routers.smtp-ssl.entrypoints=smtp-ssl" - "traefik.tcp.routers.smtp-ssl.entrypoints=smtp-ssl"
- "traefik.tcp.routers.smtp-ssl.service=smtp-ssl" - "traefik.tcp.routers.smtp-ssl.service=smtp-ssl"
- "traefik.tcp.services.smtp-ssl.loadbalancer.server.port=465" - "traefik.tcp.services.smtp-ssl.loadbalancer.server.port=465"