hanqingwu commented on issue #10530:
URL: https://github.com/apache/apisix/issues/10530#issuecomment-1869939834
@kayx23
i have trace this bug . so i find root cause is nginx ,
By default, nginx removes all environment variables inherited from its
parent process except the TZ variable. This directive allows preserving some of
the inherited variables, changing their values, or creating new environment
variables.
The answer in the http://nginx.org/en/docs/ngx_core_module.html#env
so you need modify nginx.conf in apisix/cli/ngx_tpl.lua then add "env
UPSTREAM_NODE_HTTPBIN;'"

then update apisix.yaml will work

some reference:
https://github.com/openresty/openresty/issues/171
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]