diff --git a/stack.production.yml b/stack.production.yml index 80bab16..638c833 100644 --- a/stack.production.yml +++ b/stack.production.yml @@ -22,7 +22,7 @@ services: traefik.enable: "true" traefik.http.routers.production_resume.tls: "true" traefik.http.services.production_resume.loadbalancer.server.port: "8080" - traefik.http.routers.production_resume.rule: "Host(`resume.colinknapp.com`, `colinknapp.com`)" + traefik.http.routers.production_resume.rule: "Host(`resume.colinknapp.com`) || Host(`colinknapp.com`)" traefik.http.routers.production_resume.entrypoints: "websecure" traefik.http.routers.production_resume.tls.certresolver: "letsencryptresolver" traefik.http.routers.production_resume.service: "production_resume" diff --git a/stack.staging.yml b/stack.staging.yml index f71a0c1..fffed50 100644 --- a/stack.staging.yml +++ b/stack.staging.yml @@ -20,7 +20,7 @@ services: traefik.enable: "true" traefik.http.routers.staging_resume.tls: "true" traefik.http.services.staging_resume.loadbalancer.server.port: "8080" - traefik.http.routers.staging_resume.rule: "Host(`staging.resume.colinknapp.com`, `staging.colinknapp.com`)" + traefik.http.routers.staging_resume.rule: "Host(`staging.resume.colinknapp.com`) || Host(`staging.colinknapp.com`)" traefik.http.routers.staging_resume.entrypoints: "websecure" traefik.http.routers.staging_resume.tls.certresolver: "letsencryptresolver" traefik.http.routers.staging_resume.service: "staging_resume"