Welcome! Log In Create A New Profile

Advanced

Re: unknown directive "env"

September 15, 2009 12:36PM
ur correct i tried it and it doesn't do what i thought it did.
I'm trying to the same thing as before. assign an environment variable.
reading the Map directive documentation. It doesn't do that either.

2009/9/15 Igor Sysoev <is@rambler-co.ru>

> 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
> http://sysoev.ru/en/
>
>
Subject Author Posted

unknown directive "env"

MySchizoBuddy September 15, 2009 12:02PM

Re: unknown directive "env"

Igor Sysoev September 15, 2009 12:12PM

Re: unknown directive "env"

MySchizoBuddy September 15, 2009 12:36PM

Re: unknown directive "env"

Igor Sysoev September 16, 2009 03:50AM

Re: unknown directive "env"

MySchizoBuddy September 16, 2009 06:08PM

Re: unknown directive "env"

Igor Sysoev September 17, 2009 01:06AM

Re: unknown directive "env"

MySchizoBuddy September 18, 2009 05:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 287
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready