update nginx configuration