nezha/script/config.yaml

25 lines
781 B
YAML
Raw Normal View History

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
oauth2:
type: "nz_oauth2_type" #Oauth2 登录接入类型github/gitlab/jihulab/gitee/gitea
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"
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"
ddns:
enable: false
provider: "webhook"
accessid: ""
accesssecret: ""
webhookmethod: ""
webhookurl: ""
webhookrequestbody: ""
webhookheaders: ""
maxretries: 3