Anisotropy of Upper Critical Field in Superconducting 2H-NbS2