Remove www from URL with nginx

So I’ve recently been wearing my sysadmin hat, having installed and configured nginx a coworker showed me that if you added www as a subdomain the website was gone. Not good, so I did some googling and found a few examples on how to ensure users are redirected to the appropriate subdomain (or lack thereof).

Read More...