#网关路由配置 zuul: ignored-services: "*" sensitive-headers: prefix: /api #为zuul设置一个公共的前缀 routes: web: path: /web/** serviceId: jc-web text: path: /text/** serviceId: jc-text feign-server: path: /feign/** serviceId: feign-server max: host: connections: 500 host: socket-timeout-millis: 60000 connect-timeout-millis: 60000
#ribbon ribbon: ReadTimeout: 10000 ConnectTimeout: 10000 MaxAutoRetries: 0 MaxAutoRetriesNextServer: 1 #hystrix hystrix: command: default: execution: timeout: enabled: true isolation: thread: timeoutInMilliseconds: 60000