From 18d8ba355f6371d4ee57b863de8c3e539ace0a20 Mon Sep 17 00:00:00 2001 From: Ambroise Maupate Date: Thu, 19 Dec 2024 19:04:47 +0100 Subject: [PATCH] chore: Fixed tls.domains[0].sans syntax --- compose.prod.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compose.prod.yml b/compose.prod.yml index f9cfdb9..8602286 100644 --- a/compose.prod.yml +++ b/compose.prod.yml @@ -74,8 +74,7 @@ services: # - "traefik.http.routers.${APP_NAMESPACE}_secure.tls.certresolver=letsencrypt" - "traefik.http.routers.${APP_NAMESPACE}_secure.tls.domains[0].main=example.com" - - "traefik.http.routers.${APP_NAMESPACE}_secure.tls.domains[0].sans[0]=www.example.com" - - "traefik.http.routers.${APP_NAMESPACE}_secure.tls.domains[0].sans[1]=api.example.com" + - "traefik.http.routers.${APP_NAMESPACE}_secure.tls.domains[0].sans=www.example.com, api.example.com" # Combine Host and PathRegexp to allow API and Frontend to share same domain name - "traefik.http.routers.${APP_NAMESPACE}_secure.rule=HostRegexp(${HOSTNAME}) && PathRegexp(${PATH_PREFIX})" - "traefik.http.routers.${APP_NAMESPACE}_secure.service=${APP_NAMESPACE}"