spring boot swagger ui使用 nginx 部署后无法使用问题

location /wxapi {
            proxy_pass  http://flower-wx-api;
            ## 指定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;
}
posted @ 2019-02-22 13:36  筱老邪  阅读(330)  评论(0编辑  收藏  举报