Merge "Fix warnings in haproxy config"

This commit is contained in:
Zuul 2022-12-10 12:16:23 +00:00 committed by Gerrit Code Review
commit fd3ba428d9
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -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 }}