摘要: 1. 场景: 系统A:nodejs+vue.js 系统B:spring boot 通过系统A前端调用系统B,一直提示:No 'Access Control Allow Origin' header is present on the requested resource 2. 定位问题: js跨域问 阅读全文
posted @ 2018-12-25 16:50 致林 阅读(1418) 评论(0) 推荐(0) 编辑
摘要: nginx转发成功报400 bad request,服务端未收到请求 解决办法: upstream后面不要跟下划线 例如: upstream auth_service{ server 30.4.164.151:10002; } location /auth_service { proxy_pass 阅读全文
posted @ 2018-12-25 11:38 致林 阅读(3233) 评论(2) 推荐(0) 编辑