fix: Use icann domain for email
This commit is contained in:
parent
85d0c68453
commit
d170e2c9a6
2
sites.py
2
sites.py
@ -270,7 +270,7 @@ def write_nginx_conf(site):
|
|||||||
|
|
||||||
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@{domain} --redirect')
|
os.system(f'certbot --nginx {icann_domains} --non-interactive --agree-tos --email admin@{icann_domains[0]} --redirect')
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user