Nginx map subdomains to subdirectories

2011-10-18

Nginx configuration setting to automatically map subdomains to subdirectories: server_name ~^(.*)\.mysite\.com$; root /srv/www/$1;

Leave a Reply

Twitter: @mikeplate