multiple roots for multiple sites
John Magolske
listmail at b79.net
Sat May 15 03:01:26 MSD 2010
> Your config should look like that:
>
> location / {
> root /usr/local/nginx/html/$host;
> index index.html index.htm;
> }
>
> So that you want ever have to touch the configuration file even if new
> sites get created.
I just now tried the above directive in my nginx.conf, but end up
getting '404 Not Found' on all my sites.
John
--
John Magolske
http://B79.net/contact
More information about the nginx
mailing list