Move restart nginx to task