Refactoring nginx, PHP and splitting Dev/Ops