Nginx equivalent to lighttpd "evhost.path-pattern"

view full story

http://serverfault.com – I'm setting up a new server for my personal stuff. On the old box I've used lighttpd for almost two years now. I've read a bit about it and most people tend to switch to nginx since it's development is much more active. Now i'm a bit overwhelmed by the might of nginx. The coolest thing I've used with lighty was the "evhost.path-pattern" feature where I can simply delegate all domains and subdomains using a more or less complex regular expression and defining "evhost.path-pattern = "/var/www/pages/%0/subdomains/%3/" so I simply have to create a new folder in "subdomains" and the same second I (HowTos)