add stickiness options
This commit is contained in:
@@ -10,6 +10,12 @@ balance <%= backend_config['be_balance'] %>
|
||||
<% if backend_config['be_option'] and backend_config['be_option'] != '' -%>
|
||||
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'] %>
|
||||
<% end -%>
|
||||
<% if backend_config['be_stick_on'] and 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| -%>
|
||||
server <%= be_server_name %>
|
||||
|
||||
Reference in New Issue
Block a user