fix: do not expose port 443 if no letsencrypt email is set
This commit is contained in:
1 parent
d5085d3156
commit
ea7299eef7
1 file changed
+2
@@ -49,7 +49,9 @@ services:
|
||||
|
||||
ports:
|
||||
- "80:80"
|
||||
{{ if $.TRAEFIK_LETSENCRYPT_EMAIL }}
|
||||
- "443:443"
|
||||
{{ end }}
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
Reference in new issue
Block a user