modifications on nginx generator