这是因为上传文件时tomcat创建的目录、文件,nginx没有权限访问导致。 最快的解决方法是修改$tomcat_home/bin/catalina.sh 修改之后记得重启tocmat 参考: https://www.cnblogs.com/mgds/p/16129039.html