variables in "include"
Kaspars
kaspars at konstruktors.com
Tue Jul 21 01:25:08 MSD 2009
>
> 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