Influence of the FFLO-like state on the upper critical field of a superconductor/ferromagnet bilayer: Angular and temperature dependence