Add www domain

This commit is contained in:
Daniel Kluge 2022-12-08 19:42:55 +01:00
parent 6c6bccb2a7
commit cc1250be00

View File

@ -14,10 +14,10 @@ services:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.docker.network=traefik" - "traefik.docker.network=traefik"
- "traefik.http.routers.website-stable.entrypoints=web" - "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.middlewares=http-to-https@file"
- "traefik.http.routers.website-stable-secure.entrypoints=websecure" - "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.middlewares=secHeaders@file"
- "traefik.http.routers.website-stable-secure.tls=true" - "traefik.http.routers.website-stable-secure.tls=true"
- "traefik.http.routers.website-stable-secure.tls.certresolver=le" - "traefik.http.routers.website-stable-secure.tls.certresolver=le"