BTW, I just realised that example could even be server_name ~^(.*)\.(.*)\.myserver\.net$; root /var/www/docs/myserver.net/$2/$1/public; - and I'm on 0.7.64. cheers Igor Clark -- Posted via http://www.ruby-forum.com/.