1. nginx配置404跳转回默认路由
https://blog.csdn.net/masteryee/article/details/83689954
https://blog.csdn.net/IbcVue/article/details/133230460
https://www.jb51.net/server/317970ynk.htm
https://blog.csdn.net/u014438244/article/details/120531287
https://blog.csdn.net/masteryee/article/details/83689954
error_page 404 /;
2. 权限接口访问404
现象:
http://aaa.xxx.net/api/permission/common/userPermission/queryDataPermission
原因:接口访问404原因就是路由不对
https://www.php.cn/faq/689049.html
https://cloud.tencent.com/developer/information/HTTP%20404%E6%98%AF%E4%BB%80%E4%B9%88%E6%84%8F%E6%80%9D%EF%BC%9F-salon
https://www.cnblogs.com/nextgg/p/16594348.html
修改:
- id: permission
predicates:
- Path=/permission/**
uri: http://hpc-common:8080
filters:
- name: TokenValid
args
whiteList:
- StripPrefix=1
配置后,访问成功。
总结:
https://blog.csdn.net/yunyala/article/details/133152704
网关
https://zhuanlan.zhihu.com/p/641621863
https://blog.csdn.net/DreamsArchitects/article/details/119351793
https://blog.51cto.com/u_13479/10104925