Skip to content

Commit

Permalink
chore: Fixed tls.domains[0].sans syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Dec 19, 2024
1 parent 349c3f5 commit 18d8ba3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 18d8ba3

Please sign in to comment.