From 19ba9f5c9f974347e04b270b836250b82e1c2af3 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sat, 7 May 2022 00:19:03 +0200 Subject: [PATCH] Update server.toml according to upstream (v0.5.0) https://git.sr.ht/~int80h/gemserv/commit/cecc6f5793983487edbff7a3cec42ac354a5b3d9 --- conf/server.toml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/conf/server.toml b/conf/server.toml index 8c895a0..17a9b9a 100644 --- a/conf/server.toml +++ b/conf/server.toml @@ -1,6 +1,12 @@ -port = 1965 -# use "::" for ipv6 and ipv4 or "0.0.0.0" for ipv4 only -host = "::" +# interface accepts multiple interface/port combinations. However, due to the +# dual stack nature of linux if you specify "[::]:1965" linux will also listen +# on "0.0.0.0:1965" so if you manually specify both it will fail. +# interface = [ "0.0.0.0:1965, "[::]:1965" ] +interface = [ "[::]:1965" ] +# port and host have been deprecated in favor of interface but will still work +# for now. +# port = 1965 +# host = "::" # log is optional and server wide. It defaults to info if not set. Other levels # are error, warn, and info. If error is set it will only show error. If warn # is set it will show error and warn. Info shows all three.