fix: do not expose port 443 if no letsencrypt email is set
This commit is contained in:
@@ -49,7 +49,9 @@ services:
|
|||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
|
{{ if $.TRAEFIK_LETSENCRYPT_EMAIL }}
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user