diff --git a/docker-compose.yml b/docker-compose.yml index 4ac19ce..2f19e7d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: restart: always labels: - traefik.enable=true - - traefik.http.routers.thehrz-nginx.rule=Host(`thehrz.net`, `www.thehrz.net`) + - traefik.http.routers.thehrz-nginx.rule=Host(`(www\.)?thehrz\.net`) - traefik.http.routers.thehrz-nginx.entrypoints=web,websecure - traefik.http.routers.thehrz-nginx.tls.certresolver=letsencrypt - traefik.http.routers.thehrz-nginx.middlewares=CORS@file