Skip to content

Commit 2748332

Browse files
committed
Fix letsencrypt=off with --all
1 parent 524fb46 commit 2748332

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ee/cli/plugins/site.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,6 +1213,13 @@ def doupdatesite(self, pargs):
12131213
Log.info(self,"SSL not configured for site http://{0}".format(ee_domain))
12141214
return 0
12151215

1216+
if pargs.all and pargs.letsencrypt == "off":
1217+
if letsencrypt is check_ssl:
1218+
if letsencrypt is False:
1219+
Log.error(self, "SSl is not configured for given "
1220+
"site",False)
1221+
return 0
1222+
12161223
if pargs.letsencrypt:
12171224
if pargs.letsencrypt == 'on':
12181225
data['letsencrypt'] = True

0 commit comments

Comments
 (0)