thymeleaf 导入依赖 可静态文件放入 static 中 html 当到templates中 配置 nginx 修改本地host 实现网站的访问 虚拟机ip 网站 虚拟机的nginx进行拦截 转发