添加ZLM网关
This commit is contained in:
parent
36389ab14b
commit
dc184d6001
|
|
@ -14,6 +14,14 @@ spring:
|
|||
filters:
|
||||
- name: WebSocketFilter
|
||||
|
||||
- id: zlm-route
|
||||
uri: http://114.67.89.4:8778
|
||||
predicates:
|
||||
- Path=/zlm/**
|
||||
filters:
|
||||
- RewritePath=/zlm/(?<segment>.*), /$\{segment}
|
||||
- AddRequestParameter=secret, su6TiedN2rVAmBbIDX0aa0QTiBJLBdcf
|
||||
|
||||
# 启用 JWT 认证(默认为 false,即不启用)
|
||||
# spring.security.oauth2.resourceserver.jwt.enabled: false
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue