2021-05-10 06:04:38 -04:00
|
|
|
|
debug: false
|
2021-08-19 07:49:04 -04:00
|
|
|
|
httpport: 80
|
2022-04-29 12:48:39 -04:00
|
|
|
|
language: nz_language
|
2021-08-19 00:32:36 -04:00
|
|
|
|
grpcport: nz_grpc_port
|
2021-03-02 10:08:40 -05:00
|
|
|
|
oauth2:
|
2022-10-12 07:34:15 -04:00
|
|
|
|
type: "nz_oauth2_type" #Oauth2 登录接入类型,github/gitlab/jihulab/gitee/gitea
|
2021-03-02 10:08:40 -05:00
|
|
|
|
admin: "nz_admin_logins" #管理员列表,半角逗号隔开
|
2020-11-29 09:17:40 -05: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 07:34:15 -04:00
|
|
|
|
endpoint: "" # 如gitea自建需要设置
|
2020-11-29 09:17:40 -05:00
|
|
|
|
site:
|
|
|
|
|
brand: "nz_site_title"
|
|
|
|
|
cookiename: "nezha-dashboard" #浏览器 Cookie 字段名,可不改
|
2020-12-09 06:05:40 -05:00
|
|
|
|
theme: "default"
|