瀏覽代碼

docs(monitor): add documentation for basic-auth feature

ejsadiarin 4 月之前
父節點
當前提交
5b45751c67
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      docs/configuration.md

+ 11 - 0
docs/configuration.md

@@ -1476,6 +1476,7 @@ Properties for each site:
 | allow-insecure | boolean | no | false |
 | same-tab | boolean | no | false |
 | alt-status-codes | array | no | |
+| basic-auth | object | no | |
 
 `title`
 
@@ -1524,6 +1525,16 @@ alt-status-codes:
   - 403
 ```
 
+`basic-auth`
+
+HTTP Basic Authentication credentials for protected sites.
+
+```yaml
+basic-auth:
+  usename: your-username
+  password: your-password
+```
+
 ### Releases
 Display a list of latest releases for specific repositories on Github, GitLab, Codeberg or Docker Hub.