Welcome! Log In Create A New Profile

Advanced

Want to access UNIX environment variable

February 27, 2013 01:49AM
Hi,

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?

Regards
Amod
SubjectAuthorPosted

Want to access UNIX environment variable

amodpandeyFebruary 27, 2013 01:49AM

Re: Want to access UNIX environment variable

Jonathan MatthewsFebruary 27, 2013 05:52AM

Re: Want to access UNIX environment variable

amodpandeyFebruary 28, 2013 01:04AM

Re: Want to access UNIX environment variable

kalpesh.patel@glgroup.comMarch 11, 2013 05:39PM

Re: Want to access UNIX environment variable

kalpesh.patel@glgroup.comMarch 11, 2013 05:41PM

Re: Want to access UNIX environment variable

Zachary SternFebruary 28, 2013 01:16AM

Re: Want to access UNIX environment variable

amodpandeyFebruary 28, 2013 01:22AM

Re: Want to access UNIX environment variable

E. WestbrookMarch 07, 2013 04:18AM

Re: Want to access UNIX environment variable

Jonathan MatthewsFebruary 28, 2013 05:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 101
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 165 on April 21, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready