diff --git a/jobs/haproxy/templates/haproxy.config.erb b/jobs/haproxy/templates/haproxy.config.erb index a9d8a791..b9af6f4f 100644 --- a/jobs/haproxy/templates/haproxy.config.erb +++ b/jobs/haproxy/templates/haproxy.config.erb @@ -344,12 +344,12 @@ resolvers default <% if_p("ha_proxy.requests_rate_limit.table_size", "ha_proxy.requests_rate_limit.window_size") do |table_size, window_size| %> backend st_http_req_rate - stick-table type ip size <%= table_size %> expire <%= window_size %> store http_req_rate(<%= window_size %>) + stick-table type ipv6 size <%= table_size %> expire <%= window_size %> store http_req_rate(<%= window_size %>) <% end %> <% if_p("ha_proxy.connections_rate_limit.table_size", "ha_proxy.connections_rate_limit.window_size") do |table_size, window_size| %> backend st_tcp_conn_rate - stick-table type ip size <%= table_size %> expire <%= window_size %> store conn_rate(<%= window_size %>) + stick-table type ipv6 size <%= table_size %> expire <%= window_size %> store conn_rate(<%= window_size %>) <% end %> <% unless p("ha_proxy.disable_http") -%>