Commit 83e6998fc3ed03fd241541a3b9d2c1e42fc7b465
1 parent
a7001e29
zuul的配置文件
Showing
1 changed file
with
22 additions
and
0 deletions
config-repo/api-gateway.yml
0 → 100644
1 | +server: | ||
2 | + port: 5000 | ||
3 | + | ||
4 | +zuul: | ||
5 | + SendErrorFilter: | ||
6 | + error: | ||
7 | + disable: true | ||
8 | + prefix: /api | ||
9 | + add-host-header: true | ||
10 | + routes: | ||
11 | + api-a: | ||
12 | + service-id: helloserver | ||
13 | + path: /a/** | ||
14 | + api-b: | ||
15 | + service-id: helloserver | ||
16 | + path: /b/** | ||
17 | + api-c: | ||
18 | + service-id: helloserver | ||
19 | + path: /ccc/** | ||
20 | +ribbon: | ||
21 | + eureka: | ||
22 | + enabled: false | ||
0 | \ No newline at end of file | 23 | \ No newline at end of file |