|  | @@ -12,30 +12,29 @@ server:
 | 
	
		
			
				|  |  |        request-attributes-enabled: false
 | 
	
		
			
				|  |  |        rotate: true
 | 
	
		
			
				|  |  |        suffix: .log
 | 
	
		
			
				|  |  | -  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  spring:
 | 
	
		
			
				|  |  |    application:
 | 
	
		
			
				|  |  |      name: gateway-web
 | 
	
		
			
				|  |  | -    
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |    servlet:
 | 
	
		
			
				|  |  |      multipart:
 | 
	
		
			
				|  |  |        max-file-size: 10MB
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  eureka:
 | 
	
		
			
				|  |  |    client:
 | 
	
		
			
				|  |  | -    registry-fetch-interval-seconds: 5
 | 
	
		
			
				|  |  |      serviceUrl:
 | 
	
		
			
				|  |  |        defaultZone: http://admin:admin123@localhost:8761/eureka/eureka/
 | 
	
		
			
				|  |  | -    instance: 
 | 
	
		
			
				|  |  | +    instance:
 | 
	
		
			
				|  |  |        lease-renewal-interval-in-seconds: 5
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ribbon:
 | 
	
		
			
				|  |  |    eureka:
 | 
	
		
			
				|  |  |      enable: true
 | 
	
		
			
				|  |  |    ReadTimeout: 30000
 | 
	
		
			
				|  |  | -  SocketTimeout: 10000      
 | 
	
		
			
				|  |  | +  SocketTimeout: 10000
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -### 配置网关反向代理    
 | 
	
		
			
				|  |  | +### 配置网关反向代理
 | 
	
		
			
				|  |  |  zuul:
 | 
	
		
			
				|  |  |    routes:
 | 
	
		
			
				|  |  |      api-auth:
 | 
	
	
		
			
				|  | @@ -44,52 +43,75 @@ zuul:
 | 
	
		
			
				|  |  |        serviceId: auth-server
 | 
	
		
			
				|  |  |        #url: http://localhost:8001/
 | 
	
		
			
				|  |  |        ##加上下面参数,可将header信息传递至下游
 | 
	
		
			
				|  |  | -      #sensitiveHeaders: 
 | 
	
		
			
				|  |  | +      #sensitiveHeaders:
 | 
	
		
			
				|  |  |      api-task:
 | 
	
		
			
				|  |  |        ### 以 /api-auth/访问转发到会员服务
 | 
	
		
			
				|  |  |        path: /api-task/**
 | 
	
		
			
				|  |  |        serviceId: task-server
 | 
	
		
			
				|  |  |        #url: http://localhost:8001/
 | 
	
		
			
				|  |  |        ##加上下面参数,可将header信息传递至下游
 | 
	
		
			
				|  |  | -      #sensitiveHeaders: 
 | 
	
		
			
				|  |  | +      #sensitiveHeaders:
 | 
	
		
			
				|  |  |      api-cms:
 | 
	
		
			
				|  |  |        ### 以 /api-auth/访问转发到会员服务
 | 
	
		
			
				|  |  |        path: /api-cms/**
 | 
	
		
			
				|  |  |        serviceId: cms-server
 | 
	
		
			
				|  |  |        #url: http://localhost:8001/
 | 
	
		
			
				|  |  |        ##加上下面参数,可将header信息传递至下游
 | 
	
		
			
				|  |  | -      #sensitiveHeaders: 
 | 
	
		
			
				|  |  | +      #sensitiveHeaders:
 | 
	
		
			
				|  |  |      api-web:
 | 
	
		
			
				|  |  | +      ### 以 /api-auth/访问转发到会员服务
 | 
	
		
			
				|  |  |        path: /api-web/**
 | 
	
		
			
				|  |  |        serviceId: web-server
 | 
	
		
			
				|  |  | -    api-teacher:
 | 
	
		
			
				|  |  | -      path: /api-teacher/**
 | 
	
		
			
				|  |  | -      serviceId: teacher-server
 | 
	
		
			
				|  |  | +      #url: http://localhost:8001/
 | 
	
		
			
				|  |  | +      ##加上下面参数,可将header信息传递至下游
 | 
	
		
			
				|  |  | +      #sensitiveHeaders: Cookie,Set-Cookie
 | 
	
		
			
				|  |  | +    api-im:
 | 
	
		
			
				|  |  | +      ### 以 /api-auth/访问转发到会员服务
 | 
	
		
			
				|  |  | +      path: /api-im/**
 | 
	
		
			
				|  |  | +      serviceId: im-server
 | 
	
		
			
				|  |  | +      #url: http://localhost:8001/
 | 
	
		
			
				|  |  | +      ##加上下面参数,可将header信息传递至下游
 | 
	
		
			
				|  |  | +      #sensitiveHeaders:
 | 
	
		
			
				|  |  |      api-student:
 | 
	
		
			
				|  |  | +      ### 以 /api-auth/访问转发到会员服务
 | 
	
		
			
				|  |  |        path: /api-student/**
 | 
	
		
			
				|  |  |        serviceId: student-server
 | 
	
		
			
				|  |  | +      #url: http://localhost:8001/
 | 
	
		
			
				|  |  | +      ##加上下面参数,可将header信息传递至下游
 | 
	
		
			
				|  |  | +      #sensitiveHeaders:
 | 
	
		
			
				|  |  | +    api-teacher:
 | 
	
		
			
				|  |  | +      ### 以 /api-auth/访问转发到会员服务
 | 
	
		
			
				|  |  | +      path: /api-teacher/**
 | 
	
		
			
				|  |  | +      serviceId: teacher-server
 | 
	
		
			
				|  |  | +      #url: http://localhost:8001/
 | 
	
		
			
				|  |  | +      ##加上下面参数,可将header信息传递至下游
 | 
	
		
			
				|  |  | +      #sensitiveHeaders:
 | 
	
		
			
				|  |  |      api-education:
 | 
	
		
			
				|  |  | +      ### 以 /api-auth/访问转发到会员服务
 | 
	
		
			
				|  |  |        path: /api-education/**
 | 
	
		
			
				|  |  |        serviceId: education-server
 | 
	
		
			
				|  |  | +      #url: http://localhost:8001/
 | 
	
		
			
				|  |  | +      ##加上下面参数,可将header信息传递至下游
 | 
	
		
			
				|  |  | +      #sensitiveHeaders:
 | 
	
		
			
				|  |  |    #忽略某个微服务
 | 
	
		
			
				|  |  |    ignored-services: eureka-server
 | 
	
		
			
				|  |  |    #重试
 | 
	
		
			
				|  |  |    retryable: false
 | 
	
		
			
				|  |  | -  #请求处理超时--只针对url的路由
 | 
	
		
			
				|  |  | -  ReadTimeout: 60000
 | 
	
		
			
				|  |  | -  #连接超时--只针对url的路由
 | 
	
		
			
				|  |  | -  ConnectTimeout: 10000
 | 
	
		
			
				|  |  | -  sensitiveHeaders: 
 | 
	
		
			
				|  |  | -  
 | 
	
		
			
				|  |  | -hystrix: 
 | 
	
		
			
				|  |  | -  command: 
 | 
	
		
			
				|  |  | -    default: 
 | 
	
		
			
				|  |  | -      execution: 
 | 
	
		
			
				|  |  | -        isolation: 
 | 
	
		
			
				|  |  | -          thread: 
 | 
	
		
			
				|  |  | +  #请求处理超时
 | 
	
		
			
				|  |  | +  ReadTimeout: 600000
 | 
	
		
			
				|  |  | +  #连接超时
 | 
	
		
			
				|  |  | +  ConnectTimeout: 100000
 | 
	
		
			
				|  |  | +  sensitiveHeaders:
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +hystrix:
 | 
	
		
			
				|  |  | +  command:
 | 
	
		
			
				|  |  | +    default:
 | 
	
		
			
				|  |  | +      execution:
 | 
	
		
			
				|  |  | +        isolation:
 | 
	
		
			
				|  |  | +          thread:
 | 
	
		
			
				|  |  |              timeoutInMilliseconds: 60000
 | 
	
		
			
				|  |  | -            
 | 
	
		
			
				|  |  | -            
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  #spring boot admin 相关配置
 | 
	
		
			
				|  |  |  management:
 | 
	
		
			
				|  |  |    endpoints:
 |