Making nginx work with our application