Просмотр исходного кода

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

pull/503/head
Alexey Dolotov 4 дней назад
Родитель
Сommit
61deb4e822
1 измененных файлов: 6 добавлений и 1 удалений
  1. 6
    1
      example.config.toml

+ 6
- 1
example.config.toml Просмотреть файл

@@ -20,7 +20,12 @@ debug = true
20 20
 # should either be base64-encoded or starts with ee.
21 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 29
 bind-to = "0.0.0.0:3128"
25 30
 
26 31
 # This defines what types of traffic mtg listens to. If you are not sure,

Загрузка…
Отмена
Сохранить