modify nginx script