Want to access UNIX environment variable

amodpandey nginx-forum at nginx.us
Wed Feb 27 06:49:27 UTC 2013


I have system where I have defined OS environment variable $ENV=prod or dev.
I want to access this variable inside my nginx configuration. Please help.

I have tried -g "env ENV" in command line. But how do I access it? $ENV does
not work?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236654,236654#msg-236654

More information about the nginx mailing list