server {
listen 8081;
location /api/ {
proxy_pass http://localhost:8080/api/; //转发的参数设定
}
}
使用Nginx进行跨域
猜你喜欢
转载自blog.csdn.net/lgfx21/article/details/103647493
今日推荐
周排行