location /api {
rewrite ^/api/(.*)$ /$1 break;
proxy_pass http://127.0.0.1:9003;
}
nginx配置前端接口代理
最新推荐文章于 2022-11-06 21:11:32 发布
location /api {
rewrite ^/api/(.*)$ /$1 break;
proxy_pass http://127.0.0.1:9003;
}