Blame view

cloud/getaway/src/main/resources/application.yml 767 Bytes
6f262f5b   陶汉栋   网关服务优化
1
2
3
4
5
eureka:
  client:
    fetch-registry: true
    register-with-eureka: true
    service-url:
e92e5a92   陶汉栋   增加网关负载
6
#      defaultZone: http://localhost:8761/eureka/
6f262f5b   陶汉栋   网关服务优化
7
8
9
10
11
12
      defaultZone: http://localhost:8761/eureka/,http://localhost:8762/eureka/
  instance:
    hostname: localhost
    lease-expiration-duration-in-seconds: 90
    lease-renewal-interval-in-seconds: 10
    prefer-ip-address: true
6f262f5b   陶汉栋   网关服务优化
13
14
15
16

spring:
  cloud:
    gateway:
e92e5a92   陶汉栋   增加网关负载
17
18
19
20
21
22
      routes:
        - id: usersearch
          uri: lb://usersearch
          predicates:
            - Path=/usersearch/**
          filters:
6f262f5b   陶汉栋   网关服务优化
23
            - StripPrefix=1
820f688d   陈杰   网关
24
        - id: haikangserver
5a926884   陶汉栋   网关中添加处理上下游服务重复添加跨域问题
25
          uri: lb://haikangserver
820f688d   陈杰   网关
26
27
28
29
          predicates:
            - Path=/haikangserver/**
          filters:
            - StripPrefix=1
300963ec   陶汉栋   打包build添加
30
url:
e92e5a92   陶汉栋   增加网关负载
31
  ignored: /user/**
4716fae1   陶汉栋   1、增加网关负载lb指向

6f262f5b   陶汉栋   网关服务优化

300963ec   陶汉栋   打包build添加

6f262f5b   陶汉栋   网关服务优化

dc4df863   陶汉栋   优化定时服务和片网络图片映射

4716fae1   陶汉栋   1、增加网关负载lb指向

e92e5a92   陶汉栋   增加网关负载

dc4df863   陶汉栋   优化定时服务和片网络图片映射

300963ec   陶汉栋   打包build添加

e5d1fbed   陈杰   认证中心 登录接口

e92e5a92   陶汉栋   增加网关负载

4716fae1   陶汉栋   1、增加网关负载lb指向

e5d1fbed   陈杰   认证中心 登录接口

40e7c30e   陶汉栋   增加负载均衡客户端服务

e92e5a92   陶汉栋   增加网关负载

4716fae1   陶汉栋   1、增加网关负载lb指向

40e7c30e   陶汉栋   增加负载均衡客户端服务

b971c436   陶汉栋   smartcampussearcg...

e92e5a92   陶汉栋   增加网关负载

b971c436   陶汉栋   smartcampussearcg...

9c32d991   陶汉栋   增加网关负载

e92e5a92   陶汉栋   增加网关负载

9c32d991   陶汉栋   增加网关负载

acd712a6   陶汉栋   增加网关负载

40e7c30e   陶汉栋   增加负载均衡客户端服务

300963ec   陶汉栋   打包build添加

236a8188   陶汉栋   注册服务增加bootstrap.y...

27a12e09   陶汉栋   Merge remote-trac...

236a8188   陶汉栋   注册服务增加bootstrap.y...

acd712a6   陶汉栋   增加网关负载