From f6dcd9e776e12881ce9f7cc46556e01c9eb20489 Mon Sep 17 00:00:00 2001 From: Joscha Henningsen Date: Sat, 9 Mar 2024 14:38:11 +0100 Subject: [PATCH] add domains to tls --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 96515cbd..81175df7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,8 @@ services: - "traefik.http.routers.tumsexy.middlewares=webs-redirectscheme" - "traefik.http.routers.tumsexy-secure.entrypoints=webs" + - "traefik.http.routers.tumsexy-secure.tls.domains[0].main=tum.sexy" + - "traefik.http.routers.tumsexy-secure.tls.domains[0].sans=*.tum.sexy" - "traefik.http.routers.tumsexy-secure.tls.certresolver=sexyresolver" - "traefik.http.routers.tumsexy-secure.rule=Host(`tum.sexy`) || HostRegexp(`tum.sexy`, `{subdomain:[a-z0-9\\-]+}.tum.sexy`)" - "traefik.http.services.tumsexy-secure.loadbalancer.server.port=80"