The evolution of superconductivity in FexSe0.4Te0.6 thin films (0.5 ≤ x ≤ 1.3) with Fe doping has been investigated. A thorough phase diagram of FexSe0.4Te0.6 has been established based on the transport measurements. Zero resistance can be achieved in a wide range of Fe content from 0.7 to 1.3, and the superconducting transition temperature Tc is sensitive to the chemical composition. The optimal Fe content is 0.9, illustrating that moderate Fe vacancies are conducive to improving the metallicity, effective pinning energy, and critical temperature. Nevertheless, the superconductivity is suppressed abruptly when the Fe content is further reduced. Corresponding theoretical calculations can support our experimental results well, and suggest that the variation of density of state caused by Fe vacancy is crucial for the improvement of Tc. Our study provides further insight into the mechanism of Fe content effects on tunning the superconducting properties of FexSe0.4Te0.6 thin films.