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
parent
90351ce59e
commit
0807afde57
|
@ -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)]"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue