Skip to content

Commit c420f77

Browse files
committed
docs: add file provider dynamic example
1 parent 3de3c50 commit c420f77

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

examples/file-provider/dynamic.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
http:
2+
routers:
3+
whoami:
4+
rule: Host(`whoami.localhost`)
5+
entryPoints:
6+
- web
7+
service: whoami
8+
middlewares:
9+
- request-id
10+
11+
middlewares:
12+
request-id:
13+
plugin:
14+
requestid:
15+
headerName: X-Request-ID
16+
17+
services:
18+
whoami:
19+
loadBalancer:
20+
servers:
21+
- url: http://whoami:80

0 commit comments

Comments
 (0)