Browse Source

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

pull/503/head
Alexey Dolotov 5 days ago
parent
commit
61deb4e822
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      example.config.toml

+ 6
- 1
example.config.toml View File

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…
Cancel
Save