From 951c4e90b573f3d14a137bade0853fb3f0f21a5d Mon Sep 17 00:00:00 2001 From: Lia Lenckowski Date: Mon, 28 Aug 2023 12:42:43 +0200 Subject: supporting listening on a list of addresses Signed-off-by: metamuffin --- readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 3d4eb28..ec25d31 100644 --- a/readme.md +++ b/readme.md @@ -17,7 +17,8 @@ configuration file is written in TOML and could look like this: ```toml # Both the [http] and [https] sections are optional [http] -bind = "127.0.0.1:8080" +# the value for 'bind' can either be a string or a list of strings +bind = [ "127.0.0.1:8080", "[::1]:8080" ] [https] bind = "127.0.0.1:8443" -- cgit v1.2.3-70-g09d2