Skip to content

Commit b71224a

Browse files
FelixoidCivil
authored andcommitted
Update configuration example for listeners
1 parent f7e3f26 commit b71224a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmd/carbonapi/carbonapi.example.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
listeners:
1212
- address: "127.0.0.1:8081"
1313
- address: "[::1]:8081"
14+
# OR
15+
- address: "localhost:8081"
16+
# OR
17+
listen: "localhost:8081"
18+
1419
# Specify URL Prefix for all handlers
1520
prefix: ""
1621
# Use custom caching DNS resolver instead of default one. You shouldn't use it unless you know what you are doing.

0 commit comments

Comments
 (0)