restart nginx on app restart