summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-01 17:07:37 +0900
committernsfisis <nsfisis@gmail.com>2026-05-01 17:07:37 +0900
commit0744f2fdbe6495191170c3713a377b968b9a7b6d (patch)
tree7339b8c1c72242e96cce2e9287a582f7b9369788
parent52d5b26798061848cedb13595723c6b6c9da7bbd (diff)
downloadmioproxy-0744f2fdbe6495191170c3713a377b968b9a7b6d.tar.gz
mioproxy-0744f2fdbe6495191170c3713a377b968b9a7b6d.tar.zst
mioproxy-0744f2fdbe6495191170c3713a377b968b9a7b6d.zip
fix: modify example configurationHEADmain
-rw-r--r--example.conf.hcl5
1 files changed, 3 insertions, 2 deletions
diff --git a/example.conf.hcl b/example.conf.hcl
index 88f65a4..9bf75fc 100644
--- a/example.conf.hcl
+++ b/example.conf.hcl
@@ -1,7 +1,8 @@
server http {
hosts = ["127.0.0.1"]
- # hosts = ["::1"] # Listen on localhost (IPv6)
- # hosts = ["0.0.0.0", "::"] # Listen on all interfaces (IPv4 + IPv6)
+ # hosts = ["::1"] # Listen on localhost (IPv6)
+ # hosts = ["0.0.0.0"] # Listen on all interfaces (IPv4)
+ # hosts = ["::"] # Listen on all interfaces (IPv4 + IPv6, via dual-stack)
port = 8000
proxy a {