add stickiness options

This commit is contained in:
Arne Teuke
2025-02-12 14:51:25 +01:00
parent b77a536b60
commit 981dc52edb

View File

@@ -11,10 +11,10 @@ balance <%= backend_config['be_balance'] %>
option <%= backend_config['be_option'] %>
<% end -%>
<% if backend_config['be_stick_table'] and backend_config['be_stick_table'] != '' -%>
stick-table <%= backend_config['be_stick_table'] %>
stick-table <%= backend_config['be_stick_table'] %>
<% end -%>
<% if backend_config['be_stick_on'] and backend_config['be_stick_on'] != '' -%>
stick on <%= backend_config['be_stick_on'] %>
stick on <%= backend_config['be_stick_on'] %>
<% end -%>
<% if backend_config['be_server_name_array'] and !backend_config['be_server_name_array'].empty? -%>
<% backend_config['be_server_name_array'].each do |be_server_name| -%>