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
unifi-restore
Dustin 2025-08-06 10:46:03 -05:00
parent daa602495c
commit 0e15c6a635
1 changed files with 1 additions and 1 deletions

View File

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