make the nginx script correct