|
|
@@ -20,13 +20,6 @@ debug = true
|
|
20
|
20
|
# should either be base64-encoded or starts with ee.
|
|
21
|
21
|
secret = "ee367a189aee18fa31c190054efd4a8e9573746f726167652e676f6f676c65617069732e636f6d"
|
|
22
|
22
|
|
|
23
|
|
-# For multi-user support, use the [secrets] section instead of "secret".
|
|
24
|
|
-# Each key is a user name, used for per-user stats tracking.
|
|
25
|
|
-# All secrets must use the same hostname.
|
|
26
|
|
-# [secrets]
|
|
27
|
|
-# alice = "ee367a189aee18fa31c190054efd4a8e9573746f726167652e676f6f676c65617069732e636f6d"
|
|
28
|
|
-# bob = "ee0123456789abcdef0123456789abcd9573746f726167652e676f6f676c65617069732e636f6d"
|
|
29
|
|
-
|
|
30
|
23
|
# Host:port pair to bind the built-in stats HTTP API server.
|
|
31
|
24
|
# GET /stats returns per-user connection counts and traffic.
|
|
32
|
25
|
# If not set, the stats API is not started.
|
|
|
@@ -118,6 +111,16 @@ tolerate-time-skewness = "5s"
|
|
118
|
111
|
# Otherwise, chose a new DC.
|
|
119
|
112
|
allow-fallback-on-unknown-dc = false
|
|
120
|
113
|
|
|
|
114
|
+# For multi-user support, use the [secrets] section instead of "secret".
|
|
|
115
|
+# Each key is a user name, used for per-user stats tracking.
|
|
|
116
|
+# All secrets must use the same hostname.
|
|
|
117
|
+#
|
|
|
118
|
+# IMPORTANT: [secrets] must appear after all global keys (like bind-to,
|
|
|
119
|
+# api-bind-to) — in TOML, keys after a [section] belong to that table.
|
|
|
120
|
+# [secrets]
|
|
|
121
|
+# alice = "ee367a189aee18fa31c190054efd4a8e9573746f726167652e676f6f676c65617069732e636f6d"
|
|
|
122
|
+# bob = "ee0123456789abcdef0123456789abcd9573746f726167652e676f6f676c65617069732e636f6d"
|
|
|
123
|
+
|
|
121
|
124
|
# This section is relevant to communication with fronting domain. Usually
|
|
122
|
125
|
# you do not need to setup anything here but there are plenty of cases, especially
|
|
123
|
126
|
# if you put mtg behind load balancer, when some specific configuration is
|