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
All checks were successful
HAProxy Manager Build and Push / Build-and-Push (push) Successful in 38s
This commit is contained in:
parent
ff529be07f
commit
c47118729f
@ -340,7 +340,7 @@ def generate_config():
|
|||||||
letsencrypt_backend = template_env.get_template('hap_letsencrypt_backend.tpl').render()
|
letsencrypt_backend = template_env.get_template('hap_letsencrypt_backend.tpl').render()
|
||||||
config_parts.append(letsencrypt_backend)
|
config_parts.append(letsencrypt_backend)
|
||||||
# Add Backends
|
# Add Backends
|
||||||
config_parts.append('\n' .join(config_backends))
|
config_parts.append('\n' .join(config_backends) + '\n')
|
||||||
# Write complete configuration to tmp
|
# Write complete configuration to tmp
|
||||||
temp_config_path = "/etc/haproxy/haproxy.cfg"
|
temp_config_path = "/etc/haproxy/haproxy.cfg"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user