r/dch-proxy: Use separate sockets for HTTP v4/v6

Although listening on only an IPv6 socket works fine for the HTTP
front-end, it results in HAProxy logging client requests as IPv4-mapped
IPv6 addresses.  For visual processing, this is ok, but it breaks Loki's
`ip` filter.
dynamic-inventory
Dustin 2024-11-05 06:34:55 -06:00
parent 90351ce59e
commit 0807afde57
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ acl blocklist src {{ dch_proxy_blocklist|join(' ') }}
{% endmacro %} {% endmacro %}
frontend main frontend main
bind :::80 bind *:80,:::80 v6only
log-format "${HAPROXY_HTTP_LOG_FMT} %[var(txn.http_host)]" log-format "${HAPROXY_HTTP_LOG_FMT} %[var(txn.http_host)]"