Refactoring bootstrap environment to separate apache and nginx