Fix restart of nginx