unknown directive "env"

Igor Sysoev is at rambler-co.ru
Tue Sep 15 20:07:07 MSD 2009

On Tue, Sep 15, 2009 at 08:55:59PM +0500, Ziyad Saeed wrote:

> Where does the env directive go.
> I'm using it under the Server scope

This global (not even 'http' directive):

env ...

http {

However, this is not what you need. nginx does not use enviroment
variables. Where do you want to use the variable ?

Igor Sysoev

More information about the nginx mailing list