fix: Email again
This commit is contained in:
parent
d170e2c9a6
commit
a4d79ef773
4
sites.py
4
sites.py
@ -267,10 +267,10 @@ def write_nginx_conf(site):
|
|||||||
for alt in site['alt_domains']:
|
for alt in site['alt_domains']:
|
||||||
if is_icann(alt):
|
if is_icann(alt):
|
||||||
icann_domains.append(alt)
|
icann_domains.append(alt)
|
||||||
|
email = f'admin@{icann_domains[0]}'
|
||||||
icann_domains = " -d ".join(icann_domains)
|
icann_domains = " -d ".join(icann_domains)
|
||||||
icann_domains = f'-d {icann_domains}'
|
icann_domains = f'-d {icann_domains}'
|
||||||
os.system(f'certbot --nginx {icann_domains} --non-interactive --agree-tos --email admin@{icann_domains[0]} --redirect')
|
os.system(f'certbot --nginx {icann_domains} --non-interactive --agree-tos --email {email} --redirect')
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user