server:
|
port: 88
|
spring:
|
application:
|
name: gateway
|
cloud:
|
nacos:
|
discovery:
|
server-addr: 192.168.6.128:8848
|
gateway:
|
discovery:
|
locator:
|
enabled: true
|
routes:
|
- id: cacheGlass
|
uri: lb://cacheGlass
|
predicates:
|
- Path=/api/cacheGlass/**
|
filters:
|
- StripPrefix=2
|
|
- id: cacheVerticalGlass
|
uri: http://127.0.0.1:8082
|
predicates:
|
- Path=/api/cacheVerticalGlass/**
|
filters:
|
- StripPrefix=2
|
|
- id: loadGlass
|
uri: http://127.0.0.1:8083
|
predicates:
|
- Path=/api/loadGlass/**
|
filters:
|
- StripPrefix=2
|
|
- id: temperingGlass
|
uri: http://127.0.0.1:8084
|
predicates:
|
- Path=/api/temperingGlass/**
|
filters:
|
- StripPrefix=2
|
|
- id: unLoadGlass
|
uri: http://127.0.0.1:8085
|
predicates:
|
- Path=/api/unLoadGlass/**
|
filters:
|
- StripPrefix=2
|
|
# - id: unLoadGlass
|
# uri: lb://unLoadGlass
|
# predicates:
|
# - Path=/unLoadGlass/**
|
# filters:
|
# - RewritePath=/unLoadGlass/(?<segment>.*), /$\{segment}
|