fix nginx restart