https://cloud.spring.io/spring-cloud-static/spring-cloud-gateway/2.2.2.RELEASE/reference/html/

springcloud gateway_Spring
springcloud gateway_Spring_02

springcloud gateway_Spring_03

springcloud gateway_Spring_04
springcloud gateway_Spring_05

springcloud gateway_Spring_06

springcloud gateway_Spring_07

项目Demo
引入服务注册与发现

springcloud gateway_Spring_08

application.properties

springcloud gateway_Spring_09

bootstarp.properties

springcloud gateway_Spring_10

springcloud gateway_Spring_11

springcloud gateway_Spring_12

如有多配置文件,还可以像nacos文章中介绍的一样
springcloud gateway_Spring_13

运行

springcloud gateway_Spring_14

springcloud gateway_Spring_15

实现跳转
springcloud gateway_Spring_16
springcloud gateway_Spring_17