Welcome! Log In Create A New Profile

Advanced

Re: variables in "include"

July 20, 2009 06:29PM
On Mon, Jul 20, 2009 at 3:22 PM, Kaspars<kaspars@konstruktors.com> wrote:

> I agree. My suggestion was to allow only one config file per host in a
> defined location instead of unlimited amount of config files in all possible
> locations.

that is another way to look into it. a site-wide .htaccess. however,
if multiple people are collaborating on a single site and some people
don't have access to that single site config file...

it could be done today, technically just by doing

include /home/mike/foo/mike.com/nginx.config;

the problem is that gives them a ton of control, and also if the file
is removed i think nginx will not be able to start. there is no
configuration macro to test the existence of a file and included it
conditionally.
Subject Author Posted

variables in "include"

Kaspars Dambis July 20, 2009 06:40AM

Re: variables in "include"

Marcus Clyne July 20, 2009 08:56AM

Re: variables in "include"

Kaspars July 20, 2009 03:24PM

Re: variables in "include"

Marcus Clyne July 20, 2009 03:54PM

Re: variables in "include"

mike July 20, 2009 04:52PM

Re: variables in "include"

Kaspars July 20, 2009 05:25PM

Re: variables in "include"

mike July 20, 2009 05:52PM

Re: variables in "include"

Kaspars July 20, 2009 06:22PM

Re: variables in "include"

mike July 20, 2009 06:29PM

Re: variables in "include"

Kaspars July 20, 2009 06:48PM

Re: variables in "include"

Kaspars July 20, 2009 06:54PM

Re: variables in "include"

mike July 20, 2009 07:01PM

Re: variables in "include"

Marcus Clyne July 20, 2009 06:13PM

Re: variables in "include"

mike July 20, 2009 06:25PM

Re: variables in "include"

mike July 20, 2009 08:01PM

Re: variables in "include"

Marcus Clyne July 20, 2009 09:10PM

Re: variables in "include"

Marcus Clyne July 20, 2009 07:52PM

Re: variables in "include"

Kaspars July 20, 2009 06:45PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 65
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