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

docs: mark secret as (required) in example.config.toml

Follow-up to #503, which introduced the (required) marker on bind-to.
secret is the other top-level option without a sensible default, so it
takes the same marker, on the first line of its description.

Symmetric with #504 ((default) on prefer-ipv6). Rolling the convention
out to the rest of the file is left for separate PRs.
pull/521/head
Alexey Dolotov 6 дней назад
Родитель
Сommit
79aa14ecda
1 измененных файлов: 3 добавлений и 3 удалений
  1. 3
    3
      example.config.toml

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

@@ -15,9 +15,9 @@
15 15
 # you have any issue.
16 16
 debug = true
17 17
 
18
-# A secret. Please remember that mtg supports only FakeTLS mode, legacy
19
-# simple and secured mode are prohibited. For you it means that secret
20
-# should either be base64-encoded or starts with ee.
18
+# A secret (required). Please remember that mtg supports only FakeTLS
19
+# mode, legacy simple and secured mode are prohibited. For you it means
20
+# that secret should either be base64-encoded or starts with ee.
21 21
 secret = "ee367a189aee18fa31c190054efd4a8e9573746f726167652e676f6f676c65617069732e636f6d"
22 22
 
23 23
 # Host:port pair to run proxy on (required).

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