Question about the env

speedfirst nginx-forum at
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,

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?


Posted at Nginx Forum:,150046,150046#msg-150046

More information about the nginx mailing list