diff --git a/docker-compose.yml b/docker-compose.yml index d204a2b..07e79de 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: restart: always labels: - traefik.enable=true - - traefik.http.routers.hfbz-nginx.rule=Host(`xn--fiqa592br0dm3gfp6c.com`, `www.xn--fiqa592br0dm3gfp6c.com`) + - traefik.http.routers.hfbz-nginx.rule=HostRegexp(`^(www\.)?xn--fiqa592br0dm3gfp6c\.com$`) - traefik.http.routers.hfbz-nginx.entrypoints=web,websecure - traefik.http.routers.hfbz-nginx.tls.certresolver=letsencrypt networks: