update the nginx config