diff --git a/docker-compose.yml b/docker-compose.yml index fb64cd5..ad0019a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,12 +6,7 @@ services: image: bryanpedini/go-totp:${TOTP_VERSION} labels: - traefik.enable=true - ### Section HTTP - - traefik.http.routers.http-totp_bjphoster_com.entrypoints=http - # redirect to HTTPS only - - 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 + # HTTPS - traefik.http.routers.https-totp_bjphoster_com.entrypoints=https # configure the exposed service - traefik.http.routers.https-totp_bjphoster_com.rule=Host(`totp.bjphoster.com`)