How to setup nginx and configure for a new project