Photon-exciton coupling behaviors in optical nanocavities attract broad attention due to their crucial applications in light manipulation and emission. Herein, we experimentally observed a Fano-like resonance with asymmetrical spectral response in an ultrathin metal-dielectric-metal (MDM) cavity integrated with an atomic-layer tungsten disulfide (WS2). The resonance wavelength of an MDM nanocavity can be flexibly controlled by adjusting dielectric layer thickness. The results measured by the home-made microscopic spectrometer agree well with the numerical simulations. A temporal coupled-mode theoretical model was established to analyze the formation mechanism of Fano resonance in the ultrathin cavity. The theoretical analysis reveals that the Fano resonance is attributed to a weak coupling between the resonance photons in the nanocavity and excitons in the WS2 atomic layer. The results will pave a new way for exciton-induced generation of Fano resonance and light spectral manipulation at the nanoscale.