updates template
This commit is contained in:
@@ -26,18 +26,22 @@ defaults
|
||||
<% end -%>
|
||||
<% if @hy_use_dontlognull == true -%>
|
||||
option dontlognull
|
||||
<% else -%>
|
||||
no option dontlognull
|
||||
<% end -%>
|
||||
option http-server-close
|
||||
<% if @hy_use_http_server_close == true -%>
|
||||
option http-server-close
|
||||
<% end -%>
|
||||
<% if @hy_use_forward_for == true -%>
|
||||
option forwardfor except 127.0.0.0/8
|
||||
<% end -%>
|
||||
<% if @hy_use_redispatch == true -%>
|
||||
option redispatch
|
||||
retries 3
|
||||
timeout http-request 10s
|
||||
timeout queue 1m
|
||||
timeout connect 10s
|
||||
timeout client 1m
|
||||
timeout server 1m
|
||||
timeout http-keep-alive 10s
|
||||
timeout check 10s
|
||||
maxconn 3000
|
||||
<% end -%>
|
||||
retries <%= @hy_max_retries %>
|
||||
timeout http-request <%= @hy_timeout_http_request %>
|
||||
timeout queue <%= @hy_timeout_queue %>
|
||||
timeout connect <%= @hy_timeout_connect %>
|
||||
timeout client <%= @hy_timeout_client %>
|
||||
timeout server <%= @hy_timeout_server %>
|
||||
timeout http-keep-alive <%= @hy_timeout_http_keep_alive %>
|
||||
timeout check <%= @hy_timeout_check %>
|
||||
maxconn <%= @hy_maxconn %>
|
||||
|
||||
Reference in New Issue
Block a user