do not specify 2 urls in traefik host

This commit is contained in:
whitney 2024-05-29 23:29:04 -07:00
parent c21a31b2c9
commit 0469cbd1e0

View File

@ -12,7 +12,7 @@ services:
- [TRAEFIK_NETWORK]
build: .
labels:
- traefik.http.routers.homepage.rule=Host(`[DOMAIN_URL]` || `[SUBDOMAIN_URL]`)
- traefik.http.routers.homepage.rule=Host(`[SUBDOMAIN_URL]`)
- traefik.http.routers.homepage.tls=true
- traefik.http.routers.homepage.tls.certresolver=lets-encrypt
- traefik.http.services.homepage.loadbalancer.server.port=[[NGINX_INTERNAL_PORT]]