一 代码位置
https://github.com/cakin24/spring-cloud-code/tree/master/ch18-4
二 断点调试关键点
1 HttpsToHttpFilter
2 HttpSchemeFilter
注意观察两个过滤器的执行顺序
三 测试
1 启动ch18-4-eureka
2 启动ch18-4-service-a
3 启动ch18-4-service-b
4 启动ch18-4-gateway-https
5 浏览器输入 : https://https;//localhost:8080/service-provider/test