about env directive
manlio_perillo at libero.it
Mon Nov 26 19:49:28 MSK 2007
I want to enable the definition of custom environment variables in mod_wsgi.
After a quick search in Nginx sources I have found the env directive and
the ngx_set_environment function.
Unfortunately the documentation is in Russian only
I have found some problems with this directive.
- It seems that it is not possible to inherit enviroment variables
from the "system";
only variables defined with env directive are added to os environment
- The syntax should be
but, as an example,
does not put MALLOC_OPTIONS in the environment.
Thanks Manlio Perillo
More information about the nginx