1
0
Fork 0

Add parameter ssl

This commit is contained in:
Joao M 2022-08-17 02:55:57 +00:00
parent 1a6472a5b3
commit 3006690aad
2 changed files with 9 additions and 4 deletions

View file

@ -180,5 +180,7 @@ class HaproxyConfigGenerator:
file.write(
base64.b64decode(d[ssl_label])
)
if self.label.get_bool(self.label.create([definition, "ssl"])):
easymapping[port]["ssl_cert"] = self.ssl_cert_haproxy
return easymapping.values()