Add www domain
This commit is contained in:
parent
6c6bccb2a7
commit
cc1250be00
@ -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"
|
||||||
@ -30,4 +30,4 @@ networks:
|
|||||||
traefik:
|
traefik:
|
||||||
external: true
|
external: true
|
||||||
volumes:
|
volumes:
|
||||||
git_mask:
|
git_mask:
|
||||||
|
Loading…
Reference in New Issue
Block a user