kong route添加hosts后不能访问的问题

kong route添加hosts后不能访问的问题


kong 网关添加route时,可以指定hosts的值,这里的hosts还可以指定多个,但是lz在时间过程中遇到了问题,配置hosts后不能访问,我的route配置
在这里插入图片描述
使用postman访问
在这里插入图片描述
不用postman访问,直接在服务器通过curl方式访问时没有问题。

解决方式

关闭代理,本地开启了蓝灯代理,导致访问出错,具体原因不清楚。

猜你喜欢

转载自blog.csdn.net/weixin_40027906/article/details/83620812
今日推荐