diff options
| author | Indrajit Raychaudhuri <irc@indrajit.com> | 2026-05-26 19:50:02 -0500 |
|---|---|---|
| committer | Indrajit Raychaudhuri <irc@indrajit.com> | 2026-06-19 03:08:06 -0500 |
| commit | ed8f6f0b3527dfb68713fd88cf660e323868d8a0 (patch) | |
| tree | 929bae5765544178f91e6c622be7995ca520f3a0 /data | |
| parent | 8a334590daa3104be0519bab8d73557304d8572c (diff) | |
| download | vyos-1x-ed8f6f0b3527dfb68713fd88cf660e323868d8a0.tar.gz vyos-1x-ed8f6f0b3527dfb68713fd88cf660e323868d8a0.zip | |
haproxy: T8931: Add option http-server-close in backend sections
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/load-balancing/haproxy.cfg.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/load-balancing/haproxy.cfg.j2 b/data/templates/load-balancing/haproxy.cfg.j2 index c6729fda4..438796cee 100644 --- a/data/templates/load-balancing/haproxy.cfg.j2 +++ b/data/templates/load-balancing/haproxy.cfg.j2 @@ -206,6 +206,9 @@ backend {{ back }} option forwardfor http-request set-header X-Forwarded-Port %[dst_port] http-request add-header X-Forwarded-Proto https if { ssl_fc } +{% if back_config.http_server_close is vyos_defined %} + option http-server-close +{% endif %} {% endif %} {% if back_config.logging is vyos_defined %} {% for facility, facility_config in back_config.logging.facility.items() %} |
