update nginx.conf script