variables in "include"
Michael Shadle
mike503 at gmail.com
Tue Jul 21 01:52:49 MSD 2009
that would require server level configuration still... the idea is to
give the users a way to configure things on their own.
On Mon, Jul 20, 2009 at 2:25 PM, Kaspars<kaspars at konstruktors.com> wrote:
>>
>> http://foo.com/1/2/3/
>>
>> would chekc for
>>
>> /home/foo/bar/foo.com/1/2/3/
>> /home/foo/bar/foo.com/1/2/
>> /home/foo/bar/foo.com/1/
>> /home/foo/bar/foo.com/
>>
>
> Or we could use the existing "location" feature:
>
> location /1 { ... }
> location /1/2 { ... }
>
> in *one* base config.nginx file at /home/foo/bar/foo.com/config.nginx, and
> then we could save even more of the precious runtime processing.
>
> Kaspars
>
>
More information about the nginx
mailing list