  It is discussed how the dijet azimuthal correlations in DIS and real
photoproduction at HERA probe the unintegrated gluon distribution in the
proton. The correlation function shows a strong dependence on kinematical
variables. We discuss a possible interplay of perturbative and nonperturbative
effects.
