Nginx 转发 swagger 请求 写代码的大聪明 2022-07-14 951 阅读1分钟 nginx 配置文件中的添加如下配置 location ~* ^(/v2|/webjars|/swagger-resources|/swagger-ui.html) { proxy_pass http://localhost:8080; }