A study is reported of the Knight shift of Ga-71, Ga-69, and In-115 NMR lines in a liquid gallium-indium alloy with a composition of 90 at % Ga and 10 at % In, introduced into porous glasses with pore sizes of 5 and 200 nm, relative to the corresponding shifts in the bulk alloy. The measurements have been performed at room temperature. The study has revealed a size-dependent decrease in the Knight shift. A sample with a 5-nm pore size has demonstrated a noticeable difference in the magnitudes of the Knight shift of both gallium isotopes measured in magnetic fields of 9.4 and 17.6 T, which implies a dependence of the electronic susceptibility of the melt on the magnetic field under the nanoconfinement conditions.