nginx:解决跨域访问路径重定向

location /api/{
proxy_pass http://192.168.3.123; //重定向地址,不包含api路径
}
评论