File tree Expand file tree Collapse file tree 4 files changed +11
-0
lines changed
Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ haproxy_global_logs:
5555# - 2 1
5656haproxy_global_tunes :
5757 - tune.ssl.default-dh-param : 2048
58+ # haproxy_global_server_state_base: current
5859
5960# Default
6061haproxy_default_logs :
@@ -83,6 +84,7 @@ haproxy_default_errorfiles:
8384# haproxy_default_http_check:
8485# haproxy_default_monitor_uri:
8586# haproxy_default_unique_id_format:
87+ # haproxy_default_load_server_state_from_file: global
8688
8789# Stats
8890haproxy_stats : true
Original file line number Diff line number Diff line change @@ -45,3 +45,6 @@ defaults
4545{% if haproxy_default_unique_id_format is defined and haproxy_default_unique_id_format | length %}
4646 unique-id-format {{ haproxy_default_unique_id_format }}
4747{% endif %}
48+ {% if haproxy_default_load_server_state_from_file is defined and haproxy_default_load_server_state_from_file |length %}
49+ load-server-state-from-file {{ haproxy_default_load_server_state_from_file }}
50+ {% endif %}
Original file line number Diff line number Diff line change @@ -120,6 +120,9 @@ frontend {{ name }}
120120 {% endif %}
121121 {% if value .default_backend is defined %}
122122 default_backend {{ value.default_backend }}
123+ {% endif %}
124+ {% if value .maxconn is defined %}
125+ maxconn {{ value.maxconn }}
123126 {% endif %}
124127 {% if value .unique_id_format is defined %}
125128 unique-id-format {{ value.unique_id_format }}
Original file line number Diff line number Diff line change 7676 {% endfor %}
7777 {% endfor %}
7878{% endif %}
79+ {% if haproxy_global_server_state_base is defined %}
80+ server-state-base {{ haproxy_global_server_state_base }}
81+ {% endif %}
You can’t perform that action at this time.
0 commit comments