nginx config woes for multiple subdomains & domains
- by Peter Hanneman
I'm finally moving away from Apache and I've got the latest development version of nginx running on a fully updated Ubuntu 10.04 VPS. I've got a single dedicated IP for the box (1.2.3.4) but I've got two separate domains pointing to the server: www.example1.com and www.example2.net.
I would like to map the fallowing relationships between urls and…