diff options
author | Lia Lenckowski <lialenck@protonmail.com> | 2023-08-28 12:42:43 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-08-28 14:08:03 +0200 |
commit | 951c4e90b573f3d14a137bade0853fb3f0f21a5d (patch) | |
tree | 0e181b277c08db9ee1075d14ccf9e4249d3be2f3 /readme.md | |
parent | 56fb681279b2f2221eef933617d521469c6e6d83 (diff) | |
download | gnix-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.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |