add new nginx settings with take the api into account