Refactor nginx into recipe