Add www domain to traefik router #81
@ -24,7 +24,7 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.services.jekyll.loadbalancer.server.port=4000"
|
- "traefik.http.services.jekyll.loadbalancer.server.port=4000"
|
||||||
- "traefik.http.routers.jekyll.rule=Host(`autonomic.zone`)"
|
- "traefik.http.routers.jekyll.rule=Host(`autonomic.zone`) || Host(`www.autonomic.zone`)"
|
||||||
- "traefik.http.routers.jekyll.entrypoints=web-secure"
|
- "traefik.http.routers.jekyll.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.jekyll.tls.certresolver=production"
|
- "traefik.http.routers.jekyll.tls.certresolver=production"
|
||||||
- "traefik.http.routers.jekyll.tls.options=default@file"
|
- "traefik.http.routers.jekyll.tls.options=default@file"
|
||||||
|
Reference in New Issue
Block a user