From cc1250be009de0bc84f8565711f94c83c968e6a1 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Thu, 8 Dec 2022 19:42:55 +0100 Subject: [PATCH] Add www domain --- docker-compose.stable.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.stable.yml b/docker-compose.stable.yml index d567e49..f3d482e 100644 --- a/docker-compose.stable.yml +++ b/docker-compose.stable.yml @@ -14,10 +14,10 @@ services: - "traefik.enable=true" - "traefik.docker.network=traefik" - "traefik.http.routers.website-stable.entrypoints=web" - - "traefik.http.routers.website-stable.rule=Host(`c0ntroller.de`)" + - "traefik.http.routers.website-stable.rule=Host(`c0ntroller.de`) || Host(`www.c0ntroller.de`)" - "traefik.http.routers.website-stable.middlewares=http-to-https@file" - "traefik.http.routers.website-stable-secure.entrypoints=websecure" - - "traefik.http.routers.website-stable-secure.rule=Host(`c0ntroller.de`)" + - "traefik.http.routers.website-stable-secure.rule=Host(`c0ntroller.de`) || Host(www.c0ntroller.de`)" - "traefik.http.routers.website-stable-secure.middlewares=secHeaders@file" - "traefik.http.routers.website-stable-secure.tls=true" - "traefik.http.routers.website-stable-secure.tls.certresolver=le" @@ -30,4 +30,4 @@ networks: traefik: external: true volumes: - git_mask: \ No newline at end of file + git_mask: