mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 00:21:23 +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):
|
def setup_wildcard_ssl(domain, email, bench_path):
|
||||||
get_certbot()
|
get_certbot()
|
||||||
|
|
||||||
|
if not get_config(bench_path).get("dns_multitenant"):
|
||||||
|
print("You cannot setup SSL without DNS Multitenancy")
|
||||||
|
return
|
||||||
|
|
||||||
email_param = ''
|
email_param = ''
|
||||||
if email:
|
if email:
|
||||||
email_param = '--email {0}'.format(email)
|
email_param = '--email {0}'.format(email)
|
||||||
|
Loading…
Reference in New Issue
Block a user