Commit 2de1875000f7fa6c710511c85a5ab5528a0ec2ba
1 parent
c71097a0
添加zuul配置
Showing
1 changed file
with
9 additions
and
0 deletions
class-service.yml
| @@ -96,6 +96,15 @@ eureka: | @@ -96,6 +96,15 @@ eureka: | ||
| 96 | defaultZone: http://discovery:15200/eureka/ | 96 | defaultZone: http://discovery:15200/eureka/ |
| 97 | healthcheck: | 97 | healthcheck: |
| 98 | enabled: true | 98 | enabled: true |
| 99 | + | ||
| 100 | +zuul: | ||
| 101 | + host: | ||
| 102 | + connect-timeout-millis: 10000 | ||
| 103 | + socket-timeout-millis: 60000 | ||
| 104 | + routes: | ||
| 105 | + users: | ||
| 106 | + serviceId: user-service | ||
| 107 | + | ||
| 99 | 108 | ||
| 100 | hystrix: | 109 | hystrix: |
| 101 | command: | 110 | command: |