fix nginx script