From 6274fbf5a1daa8f691b65952a93ecacd007d74eb Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Fri, 13 Aug 2021 15:14:51 +0200 Subject: [PATCH] =?UTF-8?q?fixed=20wrong=20Tr=C3=A6fik=20router=20names?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d2c3022..0b93748 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,15 +9,15 @@ services: ### Section HTTP - traefik.routers.http-totp_bjphoster_com.entrypoints=http # redirect to HTTPS only - - traefik.http.routers.http-get_bjphoster_com.middlewares=http-to-https - - traefik.http.routers.http-get_bjphoster_com.rule=Host(`totp.bjphoster.com`) + - traefik.http.routers.http-totp_bjphoster_com.middlewares=http-to-https + - traefik.http.routers.http-totp_bjphoster_com.rule=Host(`totp.bjphoster.com`) ### Section HTTPS - - traefik.http.routers.https-get_bjphoster_com.entrypoints=https + - traefik.http.routers.https-totp_bjphoster_com.entrypoints=https # configure the exposed service - - traefik.http.routers.https-get_bjphoster_com.rule=Host(`totp.bjphoster.com`) + - traefik.http.routers.https-totp_bjphoster_com.rule=Host(`totp.bjphoster.com`) # of course, enable TLS and it's certificate provider - - traefik.http.routers.https-get_bjphoster_com.tls=true - - traefik.http.routers.https-get_bjphoster_com.tls.certresolver=letsencrypt + - traefik.http.routers.https-totp_bjphoster_com.tls=true + - traefik.http.routers.https-totp_bjphoster_com.tls.certresolver=letsencrypt networks: - traefik-proxy restart: unless-stopped