From 90152ca94923afb13c1f1925348d9da7cc2fff7c Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Sat, 17 Apr 2021 13:19:14 +0000 Subject: [PATCH] Be as much as possible coherent with naming --- docker-compose.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0ec2136..3ec88fd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -39,21 +39,21 @@ services: labels: - "traefik.enable=true" - "traefik.docker.network=proxy_infra" - - "traefik.http.services.pihole.loadbalancer.server.port=80" + - "traefik.http.services.pi-hole.loadbalancer.server.port=80" - "traefik.http.middlewares.pi-hole-redirect.redirectregex.permanent=true" - "traefik.http.middlewares.pi-hole-redirect.redirectregex.regex=https://${FQDN}/?$$" - "traefik.http.middlewares.pi-hole-redirect.redirectregex.replacement=https://${FQDN}/admin" # Priority goes from first in the list to last. - - "traefik.http.middlewares.pihole.chain.middlewares=headers-base@file,headers-sts@file,headers-policy-self@file" + - "traefik.http.middlewares.pi-hole.chain.middlewares=headers-base@file,headers-sts@file,headers-policy-self@file" # Pi-Hole - - "traefik.http.routers.pihole.service=pihole" - - "traefik.http.routers.pihole.entrypoints=web-secure" + - "traefik.http.routers.pi-hole.service=pi-hole" + - "traefik.http.routers.pi-hole.entrypoints=web-secure" # Do not filter on prefix, otherwise the redirect does not work... - - "traefik.http.routers.pihole.rule=Host(`${FQDN}`)" - - "traefik.http.routers.pihole.tls=true" + - "traefik.http.routers.pi-hole.rule=Host(`${FQDN}`)" + - "traefik.http.routers.pi-hole.tls=true" # Not using Letsencrypt, as this service is not accessible from outside # the LAN, and no wildcard domain certificate yet. - #- "traefik.http.routers.pihole.tls.certresolver=letsencrypt" - - "traefik.http.routers.pihole.middlewares=pihole,net-home@file,auth-traefik@file,pi-hole-redirect" + #- "traefik.http.routers.pi-hole.tls.certresolver=letsencrypt" + - "traefik.http.routers.pi-hole.middlewares=pi-hole,net-home@file,auth-traefik@file,pi-hole-redirect"