mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
check if dns mutitenancy is active
This commit is contained in:
parent
4aaae8b791
commit
ab6cc5164f
@ -121,6 +121,10 @@ def renew_certs():
|
||||
def setup_wildcard_ssl(domain, email, bench_path):
|
||||
get_certbot()
|
||||
|
||||
if not get_config(bench_path).get("dns_multitenant"):
|
||||
print("You cannot setup SSL without DNS Multitenancy")
|
||||
return
|
||||
|
||||
email_param = ''
|
||||
if email:
|
||||
email_param = '--email {0}'.format(email)
|
||||
|
Loading…
Reference in New Issue
Block a user