Inspired by http://expressionengine.stackexchange.com/questions/19199/expressionengine-on-nginx-server