Nginx removes all environment variables. Specify the ones that you have to keep with the "env" directive.