nginx 多项目配置到同一端口
nginx 是一款HTTP和反向代理web服务器,前端可以使用它起本地服务与后台联调,可以解决跨域问题:set$项目一目录 D:/apache-tomcat-8.5.23..; #项目set$项目一服务 后台服务地址项目location^~/项目一{ alias$项目一目录;indexindex.html;try_files$uri$uri//index.html=404;}location^~ /项...