1
1
mirror of https://github.com/docker-mailserver/docker-mailserver synced 2024-09-29 11:41:18 +02:00

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
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -33,7 +33,7 @@ Feel free to add your configuration if you archived the same goal using differen
version: '3.7'
services:
reverse-proxy:
image: traefik:v2.4
image: traefik:latest
container_name: docker-traefik
restart: always
command:
@ -60,7 +60,7 @@ Feel free to add your configuration if you archived the same goal using differen
version: '2'
services:
mail:
image: mailserver/docker-mailserver:release-v7.2.0
image: mailserver/docker-mailserver:latest
restart: always
networks:
- 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.proxyProtocol.version=1"
- "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.service=smtp-ssl"
- "traefik.tcp.services.smtp-ssl.loadbalancer.server.port=465"