Fix loop in redirect_ssl
This commit is contained in:
parent
0a4f78a153
commit
1a6472a5b3
5 changed files with 144 additions and 8 deletions
|
|
@ -17,6 +17,11 @@ if os.getenv("HAPROXY_PASSWORD"):
|
|||
}
|
||||
|
||||
result["lookup_label"] = os.getenv("EASYHAPROXY_LABEL_PREFIX") if os.getenv("EASYHAPROXY_LABEL_PREFIX") else "easyhaproxy"
|
||||
if (os.getenv("EASYHAPROXY_LETSENCRYPT_EMAIL")):
|
||||
result["letsencrypt"] = {
|
||||
"email": os.getenv("EASYHAPROXY_LETSENCRYPT_EMAIL")
|
||||
}
|
||||
|
||||
|
||||
cfg = HaproxyConfigGenerator(result)
|
||||
print(cfg.generate(line_list))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue