add new line at the end of the server block to prevent issue with haproxy reloading
All checks were successful
HAProxy Manager Build and Push / Build-and-Push (push) Successful in 38s

This commit is contained in:
jknapp 2025-02-21 06:42:30 -08:00
parent ff529be07f
commit c47118729f

View File

@ -340,7 +340,7 @@ def generate_config():
letsencrypt_backend = template_env.get_template('hap_letsencrypt_backend.tpl').render()
config_parts.append(letsencrypt_backend)
# Add Backends
config_parts.append('\n' .join(config_backends))
config_parts.append('\n' .join(config_backends) + '\n')
# Write complete configuration to tmp
temp_config_path = "/etc/haproxy/haproxy.cfg"