chenw 7 år sedan
förälder
incheckning
3197448f2b
1 ändrade filer med 6 tillägg och 0 borttagningar
  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/**
         - Path=/api/commons/**
         filters:
         filters:
         - RewritePath=/api/commons/(?<segment>.*), /$\{segment}
         - RewritePath=/api/commons/(?<segment>.*), /$\{segment}
+      - id: SOCKET-SERVER
+        uri: lb:ws://SOCKET-SERVER
+        predicates:
+        - Path=/ws/**
   redis:
   redis:
     host: 192.168.253.12
     host: 192.168.253.12
     port: 6379
     port: 6379
@@ -175,6 +179,8 @@ auth:
   public-key: auth/pub.key
   public-key: auth/pub.key
   ignores:
   ignores:
     - /api/auth/authorize
     - /api/auth/authorize
+    - /api/auth/sso/callback/**
     - /api/account/account/register
     - /api/account/account/register
     - /api/auth/info
     - /api/auth/info
+    - /ws/**
     - /api/file/download
     - /api/file/download