Any process that modulates the frequency, rate or extent of double-strand break repair via nonhomologous end joining.