I have a few requirements for my Magento Nginx configuration
- I need to understand what it is doing, at first glance.
- I need to be able to create subdomains in a DRY fashion.
- It needs to be secure.
- It needs to work, and be performant.
This is not using any load-balancer. It is a single server fronted by Nginx.
This isn't too much to ask, but the idiomatic Nginx config for Magento just wasn't cutting it for me.
I've always been bugged by the fact that Magento dumps application code...