> That rule must do:
> 1.For subdomains example1,example2... to check in location
> /images/$host.ico is there a favicon_example.ico file and serve it.
> 2.If there is no such file, than to serve just a plain favicon.ico file.
From you description I don't fully understand what exactly is your current
file structure but you can use try_files (
http://wiki.nginx.org/HttpCoreModule#try_files ) and add the $host variable
in whatever place is needed.
For example:
location /favicon.ico {
try_files /images/$host/favicon_example.ico /favicon.ico;
}
rr
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx