summaryrefslogtreecommitdiffhomepage
path: root/example.conf.hcl
diff options
context:
space:
mode:
Diffstat (limited to 'example.conf.hcl')
-rw-r--r--example.conf.hcl4
1 files changed, 3 insertions, 1 deletions
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 {