From f63a20f813961bbdd7d6189002ff81848b94e337 Mon Sep 17 00:00:00 2001 From: Anya Lin Date: Wed, 6 Nov 2024 21:59:26 +0800 Subject: [PATCH] update inbound.listeners['http', 'socks', 'mixed'].users (#49) --- docs/config/inbound/listeners/http.en.md | 5 +++-- docs/config/inbound/listeners/http.md | 3 ++- docs/config/inbound/listeners/mixed.en.md | 5 +++-- docs/config/inbound/listeners/mixed.md | 3 ++- docs/config/inbound/listeners/socks.en.md | 5 +++-- docs/config/inbound/listeners/socks.md | 3 ++- 6 files changed, 15 insertions(+), 9 deletions(-) diff --git a/docs/config/inbound/listeners/http.en.md b/docs/config/inbound/listeners/http.en.md index e4a135d1..295e6b7c 100644 --- a/docs/config/inbound/listeners/http.en.md +++ b/docs/config/inbound/listeners/http.en.md @@ -7,7 +7,8 @@ listeners: port: 7890 listen: 0.0.0.0 users: - - username: password + - username: username1 + password: password1 ``` ## [General Fields](./index.md) @@ -16,4 +17,4 @@ listeners: ### User Authentication -If the users field is not filled in, it will follow the global [User Authentication](../../general.md/#user-authentication) settings. If it is filled in, the global settings will be ignored. To skip authentication for this inbound connection, you can set `users: []`. \ No newline at end of file +If the users field is not filled in, it will follow the global [User Authentication](../../general.md/#user-authentication) settings. If it is filled in, the global settings will be ignored. To skip authentication for this inbound connection, you can set `users: []`. diff --git a/docs/config/inbound/listeners/http.md b/docs/config/inbound/listeners/http.md index 2bdbb0fd..b952fa09 100644 --- a/docs/config/inbound/listeners/http.md +++ b/docs/config/inbound/listeners/http.md @@ -7,7 +7,8 @@ listeners: port: 7890 listen: 0.0.0.0 users: - - username: password + - username: username1 + password: password1 ``` ## [通用字段](./index.md) diff --git a/docs/config/inbound/listeners/mixed.en.md b/docs/config/inbound/listeners/mixed.en.md index c225e3ac..07ae6deb 100644 --- a/docs/config/inbound/listeners/mixed.en.md +++ b/docs/config/inbound/listeners/mixed.en.md @@ -8,7 +8,8 @@ listeners: listen: 0.0.0.0 udp: true users: - - username: password + - username: username1 + password: password1 ``` ## [General Fields](./index.md) @@ -21,4 +22,4 @@ Whether to listen for UDP ### User Authentication -If the users field is left empty, it will follow the global [User Authentication](../../general.md/#user-authentication) settings. If filled in, it will override the global settings. To skip authentication for this inbound connection, you can specify users: [] \ No newline at end of file +If the users field is left empty, it will follow the global [User Authentication](../../general.md/#user-authentication) settings. If filled in, it will override the global settings. To skip authentication for this inbound connection, you can specify users: [] diff --git a/docs/config/inbound/listeners/mixed.md b/docs/config/inbound/listeners/mixed.md index 50939787..2933ca66 100644 --- a/docs/config/inbound/listeners/mixed.md +++ b/docs/config/inbound/listeners/mixed.md @@ -8,7 +8,8 @@ listeners: listen: 0.0.0.0 udp: true users: - - username: password + - username: username1 + password: password1 ``` ## [通用字段](./index.md) diff --git a/docs/config/inbound/listeners/socks.en.md b/docs/config/inbound/listeners/socks.en.md index aaabc34c..b8dfe435 100644 --- a/docs/config/inbound/listeners/socks.en.md +++ b/docs/config/inbound/listeners/socks.en.md @@ -8,7 +8,8 @@ listeners: listen: 0.0.0.0 udp: true users: - - username: password + - username: username1 + password: password1 ``` ## [General Fields](./index.md) @@ -21,4 +22,4 @@ Whether to listen for UDP ### User Authentication -If the users field is not filled in, it will follow the global [User Authentication](../../general.md/#user-authentication) settings. If it is filled in, the global settings will be ignored. To bypass authentication for this inbound connection, you can set users: [] \ No newline at end of file +If the users field is not filled in, it will follow the global [User Authentication](../../general.md/#user-authentication) settings. If it is filled in, the global settings will be ignored. To bypass authentication for this inbound connection, you can set users: [] diff --git a/docs/config/inbound/listeners/socks.md b/docs/config/inbound/listeners/socks.md index a52662ed..4623ad1d 100644 --- a/docs/config/inbound/listeners/socks.md +++ b/docs/config/inbound/listeners/socks.md @@ -8,7 +8,8 @@ listeners: listen: 0.0.0.0 udp: true users: - - username: password + - username: username1 + password: password1 ``` ## [通用字段](./index.md)