From 0e15c6a6358477532b0832a7ec86560017c9da4c Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Wed, 6 Aug 2025 10:46:03 -0500 Subject: [PATCH] needproxy: Add logs.p.b to NO_PROXY `fluent-bit` has a bug ([#3619], [#3907], [#6759]) in its handling of the `NO_PROXY` environment variable. Instead of matching a domain and all its subdomain, like it claims to do in its [documentation][0], it only does an exact string match on the full host name. To work around this, we need to explicitly list `logs.pyrocufflink.blue` in the `no_proxy` value; this will not have any impact on other consumers of this variable, but will make `fluent-bit` work as expected, connecting directly to Victoria Logs instead of through the proxy. [0]: https://docs.fluentbit.io/manual/administration/http-proxy#no_proxy [#3619]: https://github.com/fluent/fluent-bit/issues/3619 [#3907]: https://github.com/fluent/fluent-bit/issues/3907 [#6759]: https://github.com/fluent/fluent-bit/issues/6759 --- group_vars/needproxy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group_vars/needproxy.yml b/group_vars/needproxy.yml index f7888b3..70cdbe5 100644 --- a/group_vars/needproxy.yml +++ b/group_vars/needproxy.yml @@ -1,4 +1,4 @@ http_proxy: http://proxy.pyrocufflink.blue:3128 https_proxy: '{{ http_proxy }}' all_proxy: '{{ http_proxy }}' -no_proxy: localhost,pyrocufflink.blue,*.pyrocufflink.blue,127.0.0.1,172.30.0.*,172.30.0.0/24 +no_proxy: localhost,pyrocufflink.blue,logs.pyrocufflink.blue,*.pyrocufflink.blue,127.0.0.1,172.30.0.*,172.30.0.0/24