Nonstandard interaction effects on astrophysical neutrino fluxes