Question about the env

speedfirst nginx-forum at nginx.us
Fri Nov 12 10:09:11 MSK 2010


Hey, I noticed that the "env" directive in the main module is not an
equivalent of "export" in bash or "putenv" in C stdlib. The variables
defined by "env" seems only can be used by the embeded Perl module,
right? 

The wiki doc for this directive is a little hard to understand. Let's
make it simple. In which cases, the variables defined by "env" can be
considered equivalent to the variables in bash?

Thanks.

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




More information about the nginx mailing list