Add www domain to traefik router

cr_wwwfix
Cassowary Rusnov 8 months ago
parent 3660b76db9
commit 85d7f33831
  1. 2
      docker-compose.prod.yml

@ -24,7 +24,7 @@ services:
labels:
- "traefik.enable=true"
- "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.tls.certresolver=production"
- "traefik.http.routers.jekyll.tls.options=default@file"

Loading…
Cancel
Save