瀏覽代碼

docs: clarify bind-to syntax in example.config.toml

pull/503/head
Alexey Dolotov 3 月之前
父節點
當前提交
61deb4e822
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6
    1
      example.config.toml

+ 6
- 1
example.config.toml 查看文件

20
 # should either be base64-encoded or starts with ee.
20
 # should either be base64-encoded or starts with ee.
21
 secret = "ee367a189aee18fa31c190054efd4a8e9573746f726167652e676f6f676c65617069732e636f6d"
21
 secret = "ee367a189aee18fa31c190054efd4a8e9573746f726167652e676f6f676c65617069732e636f6d"
22
 
22
 
23
-# Host:port pair to run proxy on.
23
+# Host:port pair to run proxy on (required).
24
+# The host part must be a literal IP address; hostnames and "*" are rejected.
25
+#   - IPv4 only:
26
+#     "0.0.0.0:3128"
27
+#   - dual-stack (IPv4 + IPv6) on Linux, macOS, FreeBSD, Windows:
28
+#     "[::]:3128"
24
 bind-to = "0.0.0.0:3128"
29
 bind-to = "0.0.0.0:3128"
25
 
30
 
26
 # This defines what types of traffic mtg listens to. If you are not sure,
31
 # This defines what types of traffic mtg listens to. If you are not sure,

Loading…
取消
儲存