2021-05-10 18:04:38 +08:00
|
|
|
|
debug: false
|
2021-08-19 19:49:04 +08:00
|
|
|
|
httpport: 80
|
2022-04-30 00:48:39 +08:00
|
|
|
|
language: nz_language
|
2021-08-19 12:32:36 +08:00
|
|
|
|
grpcport: nz_grpc_port
|
2021-03-02 23:08:40 +08:00
|
|
|
|
oauth2:
|
2022-10-12 19:34:15 +08:00
|
|
|
|
type: "nz_oauth2_type" #Oauth2 登录接入类型,github/gitlab/jihulab/gitee/gitea
|
2021-03-02 23:08:40 +08:00
|
|
|
|
admin: "nz_admin_logins" #管理员列表,半角逗号隔开
|
2020-11-29 22:17:40 +08:00
|
|
|
|
clientid: "nz_github_oauth_client_id" # 在 https://github.com/settings/developers 创建,无需审核 Callback 填 http(s)://域名或IP/oauth2/callback
|
|
|
|
|
clientsecret: "nz_github_oauth_client_secret"
|
2022-10-12 19:34:15 +08:00
|
|
|
|
endpoint: "" # 如gitea自建需要设置
|
2020-11-29 22:17:40 +08:00
|
|
|
|
site:
|
|
|
|
|
brand: "nz_site_title"
|
|
|
|
|
cookiename: "nezha-dashboard" #浏览器 Cookie 字段名,可不改
|
2020-12-09 19:05:40 +08:00
|
|
|
|
theme: "default"
|
2024-02-24 21:10:27 +08:00
|
|
|
|
ddns:
|
|
|
|
|
enable: false
|
2024-04-27 13:36:36 +08:00
|
|
|
|
provider: "webhook" # 如需使用多配置功能,请把此项留空
|
2024-02-24 21:10:27 +08:00
|
|
|
|
accessid: ""
|
|
|
|
|
accesssecret: ""
|
|
|
|
|
webhookmethod: ""
|
|
|
|
|
webhookurl: ""
|
|
|
|
|
webhookrequestbody: ""
|
|
|
|
|
webhookheaders: ""
|
|
|
|
|
maxretries: 3
|
2024-04-27 13:36:36 +08:00
|
|
|
|
profiles:
|
|
|
|
|
example:
|
|
|
|
|
provider: ""
|
|
|
|
|
accessid: ""
|
|
|
|
|
accesssecret: ""
|
|
|
|
|
webhookmethod: ""
|
|
|
|
|
webhookurl: ""
|
|
|
|
|
webhookrequestbody: ""
|
|
|
|
|
webhookheaders: ""
|