Skip to content

Commit 743daaa

Browse files
committed
chore(docs): update docs about auth settings
1 parent cff843b commit 743daaa

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

docs/guide/config-auth.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,15 @@ By default, if you do not set the `IPWhiteList`, all IP addresses are allowed to
1616

1717
Once you set the `IPWhiteList`, only the users from IP addresses in the list and `127.0.0.1` can access the Nginx UI,
1818
others will receive a `403 Forbidden` error.
19+
20+
## BanThresholdMinutes
21+
- Type: `int`
22+
- Default: `10`
23+
24+
By default, if a user fails to log in 10 times within 10 minutes, the user will be banned for 10 minutes.
25+
26+
## MaxAttempts
27+
- Type: `int`
28+
- Default: `10`
29+
30+
By default, a user can try to log in 10 times within 10 minutes.

docs/zh_CN/guide/config-auth.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,15 @@ IPWhiteList = 2001:0000:130F:0000:0000:09C0:876A:130B
1616

1717
一旦您设置了 `IPWhiteList`,只有列表中和 `127.0.0.1` 的 IP 地址的用户可以访问 Nginx UI,
1818
其他人将收到 `403 Forbidden` 错误。
19+
20+
## BanThresholdMinutes
21+
- Type: `int`
22+
- Default: `10`
23+
24+
默认情况下,如果用户在 10 分钟内登录失败 10 次,用户将被禁止登录 10 分钟。
25+
26+
## MaxAttempts
27+
- Type: `int`
28+
- Default: `10`
29+
30+
默认情况下,用户可以在 10 分钟内尝试登录 10 次。

docs/zh_TW/guide/config-auth.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,15 @@ IPWhiteList = 2001:0000:130F:0000:0000:09C0:876A:130B
1515
默認情況下,如果您沒有設置 IPWhiteList,所有 IP 地址都允許訪問 Nginx UI。
1616
一旦您設置了 IPWhiteList,只有列表中和 `127.0.0.1` 的 IP 地址的用戶可以訪問 Nginx UI,
1717
其他人將收到 `403 Forbidden` 錯誤。
18+
19+
## BanThresholdMinutes
20+
- Type: `int`
21+
- Default: `10`
22+
23+
默認情況下,如果用戶在 10 分鐘內登錄失敗 10 次,用戶將被禁止登錄 10 分鐘。
24+
25+
## MaxAttempts
26+
- Type: `int`
27+
- Default: `10`
28+
29+
默認情況下,如果用戶在 10 分鐘內登錄失敗 10 次,用戶將被禁止登錄 10 分鐘。

0 commit comments

Comments
 (0)