1
0

feat:调整nezha

This commit is contained in:
okxlin
2024-10-21 01:47:25 +08:00
parent 91ddb9745e
commit 7a268018e3
27 changed files with 494 additions and 196 deletions

View File

@@ -0,0 +1,14 @@
debug: false
httpport: 80 # HTTP 端口,请勿修改
nz_language: zh-CN # 语言zh-CN/zh-TW/en-US/es-ES
grpcport: 5555 # gRPC 端口,请勿修改
oauth2: # Oauth2 登录接入,查看 https://nezha.wiki/guide/dashboard.html
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" # 主题default/daynight/mdui/hotaru/angel-kanade/server-status