mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
a503f0cf40
* ddns: store configuation in database Co-authored-by: nap0o <144927971+nap0o@users.noreply.github.com> * feat: split domain with soa lookup * switch to libdns interface * ddns: add unit test * ddns: skip TestSplitDomainSOA on ci network is not steady * fix error handling * fix error handling --------- Co-authored-by: nap0o <144927971+nap0o@users.noreply.github.com>
15 lines
604 B
YAML
15 lines
604 B
YAML
debug: false
|
||
httpport: 80
|
||
language: nz_language
|
||
grpcport: nz_grpc_port
|
||
oauth2:
|
||
type: "nz_oauth2_type" #Oauth2 登录接入类型,github/gitlab/jihulab/gitee/gitea
|
||
admin: "nz_admin_logins" #管理员列表,半角逗号隔开
|
||
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自建需要设置
|
||
site:
|
||
brand: "nz_site_title"
|
||
cookiename: "nezha-dashboard" #浏览器 Cookie 字段名,可不改
|
||
theme: "default"
|