spring boot swagger ui使用 nginx 部署后无法使用问题
location /saleapi/ {
## 指定HOST
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Port $server_port;
proxy_pass http://saleapiserver;
}