简单记录一下费了一个小时的坑
NET5教程
https://www.cnblogs.com/netlock/p/14101491.html
报错
ocelot Failed to match Route configuration for upstream path
这是本质答案
ocelot版本的配置问题,本人使用的是16.0.1版本,ocelot.json中配置节点应该为Routes,15版本及之前为ReRoutes
以前我配的都没问题,还是按以前的配置文件配,这个坑真的打破脑壳都想不到,一直以为是下面节点配错了,或者代码写错了