Это может быть:http://nginx.org/en/docs/ngx_core_module.html#env
By default, nginx removes all environment variables inherited from its parent process except the TZ variable.
Вы можете использовать директиву env
, чтобы явно разрешить nginx получать переменные среды.