From ea7299eef7c9f6c2083f0b017b697b4f672ed640 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 10 Aug 2022 13:56:18 -0400 Subject: [PATCH] fix: do not expose port 443 if no letsencrypt email is set --- plugins/traefik-vhosts/templates/compose.yml.sigil | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/traefik-vhosts/templates/compose.yml.sigil b/plugins/traefik-vhosts/templates/compose.yml.sigil index dfae6c6d6..7e60518cc 100644 --- a/plugins/traefik-vhosts/templates/compose.yml.sigil +++ b/plugins/traefik-vhosts/templates/compose.yml.sigil @@ -49,7 +49,9 @@ services: ports: - "80:80" + {{ if $.TRAEFIK_LETSENCRYPT_EMAIL }} - "443:443" + {{ end }} restart: unless-stopped