From 52d5b26798061848cedb13595723c6b6c9da7bbd Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 15 Feb 2026 13:40:02 +0900 Subject: feat: support listening on multiple hosts --- example.conf.hcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'example.conf.hcl') diff --git a/example.conf.hcl b/example.conf.hcl index 9274fa4..88f65a4 100644 --- a/example.conf.hcl +++ b/example.conf.hcl @@ -1,5 +1,7 @@ server http { - host = "127.0.0.1" + hosts = ["127.0.0.1"] + # hosts = ["::1"] # Listen on localhost (IPv6) + # hosts = ["0.0.0.0", "::"] # Listen on all interfaces (IPv4 + IPv6) port = 8000 proxy a { -- cgit v1.3-1-g0d28