添加ZLM网关

This commit is contained in:
孙小云 2025-12-10 10:56:27 +08:00
parent 36389ab14b
commit dc184d6001
1 changed files with 8 additions and 0 deletions

View File

@ -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