Dane Lowe

Articles tagged 'Sysadmin'

5 February 2015

Simple and Robust Nginx config for Magento

I have a few requirements for my Magento Nginx configuration

  1. I need to understand what it is doing, at first glance.
  2. I need to be able to create subdomains in a DRY fashion.
  3. It needs to be secure.
  4. 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...