@@ -0,0 +1,40 @@
+server:
+ port: 10060
+
+spring:
+ application:
+ name: env-gateway
+ cloud:
+ gateway:
+ enabled: true
+ routes:
+ - id: admin
+ uri: http://127.0.0.1:10061
+ predicates:
+ - Path=/admin/**
+ filters:
+ - StripPrefix=1
+ - id: video
+ uri: http://127.0.0.1:10062
+ - Path=/video/**
+ - id: manage
+ uri: http://127.0.0.1:10063
+ - Path=/manage/**
+ - id: produce
+ uri: http://39.105.160.25:10064
+ - Path=/produce/**
+logging:
+ level:
+ org.springframework.cloud.gateway: debug # Gateway调试模式
@@ -1,3 +1,4 @@
#spring.profiles.active=dev
#spring.profiles.active=lishui
-spring.profiles.active=qingshan
+#spring.profiles.active=qingshan
+spring.profiles.active=qingshan_1