1
0
Fork 0
This commit is contained in:
Joao Gilberto 2022-11-09 18:27:22 -03:00
parent 5c491f749a
commit 79819aeacb
6 changed files with 41 additions and 20 deletions

View file

@ -22,7 +22,7 @@ def start():
haproxy.haproxy("start")
haproxy.sleep()
certbot = Certbot(Consts.certs_letsencrypt, os.getenv("EASYHAPROXY_LETSENCRYPT_EMAIL"))
certbot = Certbot(Consts.certs_letsencrypt, os.getenv("EASYHAPROXY_LETSENCRYPT_EMAIL"), os.getenv("EASYHAPROXY_LETSENCRYPT_STAGING", "false").lower() in ["true", "1", "yes"])
while True:
if old_haproxy is not None: