Skip to content

Commit

Permalink
update inbound.listeners['http', 'socks', 'mixed'].users (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
muink authored Nov 6, 2024
1 parent 97bbfdb commit f63a20f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 9 deletions.
5 changes: 3 additions & 2 deletions docs/config/inbound/listeners/http.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ listeners:
port: 7890
listen: 0.0.0.0
users:
- username: password
- username: username1
password: password1
```

## [General Fields](./index.md)
Expand All @@ -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: []`.
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: []`.
3 changes: 2 additions & 1 deletion docs/config/inbound/listeners/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ listeners:
port: 7890
listen: 0.0.0.0
users:
- username: password
- username: username1
password: password1
```

## [通用字段](./index.md)
Expand Down
5 changes: 3 additions & 2 deletions docs/config/inbound/listeners/mixed.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ listeners:
listen: 0.0.0.0
udp: true
users:
- username: password
- username: username1
password: password1
```

## [General Fields](./index.md)
Expand All @@ -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: []
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: []
3 changes: 2 additions & 1 deletion docs/config/inbound/listeners/mixed.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ listeners:
listen: 0.0.0.0
udp: true
users:
- username: password
- username: username1
password: password1
```

## [通用字段](./index.md)
Expand Down
5 changes: 3 additions & 2 deletions docs/config/inbound/listeners/socks.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ listeners:
listen: 0.0.0.0
udp: true
users:
- username: password
- username: username1
password: password1
```

## [General Fields](./index.md)
Expand All @@ -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: []
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: []
3 changes: 2 additions & 1 deletion docs/config/inbound/listeners/socks.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ listeners:
listen: 0.0.0.0
udp: true
users:
- username: password
- username: username1
password: password1
```

## [通用字段](./index.md)
Expand Down

0 comments on commit f63a20f

Please sign in to comment.