add stickiness options
This commit is contained in:
@@ -16,6 +16,9 @@ stick-table <%= backend_config['be_stick_table'] %>
|
||||
<% if backend_config['be_stick_on'] and backend_config['be_stick_on'] != '' -%>
|
||||
stick on <%= backend_config['be_stick_on'] %>
|
||||
<% end -%>
|
||||
<% if backend_config['be_http_check'] and backend_config['be_http_check'] != '' -%>
|
||||
http-check <%= backend_config['be_http_check'] %>
|
||||
<% 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