refactor: spring gateway sticky session
This commit is contained in:
parent
3222ea22b2
commit
231ac34b44
|
@ -38,12 +38,7 @@ springdoc.swagger-ui.urls[7].url=/workstation/v3/api-docs
|
|||
springdoc.swagger-ui.urls[7].name=workstation
|
||||
springdoc.swagger-ui.urls[8].url=/ui/v3/api-docs
|
||||
springdoc.swagger-ui.urls[8].name=ui
|
||||
# websocket
|
||||
#spring.cloud.gateway.routes[0].id=setting
|
||||
#spring.cloud.gateway.routes[0].uri=lb:ws://setting
|
||||
#spring.cloud.gateway.routes[0].predicates[0]=Path=/websocket/**
|
||||
#spring.cloud.gateway.routes[1].id=ws
|
||||
#spring.cloud.gateway.routes[1].uri=lb:ws://setting
|
||||
#spring.cloud.gateway.routes[1].predicates[0]=Path=/ws/**
|
||||
# sticky-session
|
||||
spring.cloud.loadbalancer.sticky-session.add-service-instance-cookie=true
|
||||
#
|
||||
logging.file.path=/opt/metersphere/logs/gateway
|
Loading…
Reference in New Issue