aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorLia Lenckowski <lialenck@protonmail.com>2023-08-28 12:42:43 +0200
committermetamuffin <metamuffin@disroot.org>2023-08-28 14:08:03 +0200
commit951c4e90b573f3d14a137bade0853fb3f0f21a5d (patch)
tree0e181b277c08db9ee1075d14ccf9e4249d3be2f3 /readme.md
parent56fb681279b2f2221eef933617d521469c6e6d83 (diff)
downloadgnix-951c4e90b573f3d14a137bade0853fb3f0f21a5d.tar
gnix-951c4e90b573f3d14a137bade0853fb3f0f21a5d.tar.bz2
gnix-951c4e90b573f3d14a137bade0853fb3f0f21a5d.tar.zst
supporting listening on a list of addresses
Signed-off-by: metamuffin <metamuffin@disroot.org>
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md3
1 files changed, 2 insertions, 1 deletions
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"