Browse Source

代码合并

chenw 7 years ago
parent
commit
3197448f2b
1 changed files with 6 additions and 0 deletions
  1. 6 0
      base-servers/gateway-server/src/main/resources/application.yml

+ 6 - 0
base-servers/gateway-server/src/main/resources/application.yml

@@ -104,6 +104,10 @@ spring:
         - Path=/api/commons/**
         filters:
         - RewritePath=/api/commons/(?<segment>.*), /$\{segment}
+      - id: SOCKET-SERVER
+        uri: lb:ws://SOCKET-SERVER
+        predicates:
+        - Path=/ws/**
   redis:
     host: 192.168.253.12
     port: 6379
@@ -175,6 +179,8 @@ auth:
   public-key: auth/pub.key
   ignores:
     - /api/auth/authorize
+    - /api/auth/sso/callback/**
     - /api/account/account/register
     - /api/auth/info
+    - /ws/**
     - /api/file/download