configure nginx name.site.com to blah/name?

view full story

http://serverfault.com – I would like all subdomains to be mapped to a particular folder and 404 if nothing exist. So if i have a wordpress install i would like nginx to see ANYTHING.mysite.com and attempt to host files from /var/log/mysite/subdomaindir/ANYTHING How might i do that? (HowTos)