diff --git a/defaults/main.yml b/defaults/main.yml index 863f26a..652a941 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -208,7 +208,7 @@ haproxy_server_timeout: "50s" # Set the HTTP keepalive mode to use # Disable persistent connections by default because they can cause issues when the server side closes the connection # at the same time a request is sent. -haproxy_keepalive_mode: 'forceclose' +haproxy_keepalive_mode: 'httpclose' ## haproxy tuning params diff --git a/templates/service.j2 b/templates/service.j2 index 9951208..f1894d4 100644 --- a/templates/service.j2 +++ b/templates/service.j2 @@ -108,8 +108,6 @@ backend {{ item.service.haproxy_service_name }}-back {% endif %} {% if request_option == "http" %} option forwardfor -{% elif request_option == "tcp" %} - option tcplog {% endif %} {% for option in backend_options %} option {{ option }}

AltStyle によって変換されたページ (->オリジナル) /