typo: 登陆 -> 登录

This commit is contained in:
naiba 2022-05-21 17:09:56 +08:00 committed by GitHub
parent 4d5de338ff
commit 9248db2546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -100,7 +100,7 @@ function getGuideSidebarZhCN() {
children: [
{ text: 'Dashboard相关', link: '/guide/dashboardq' },
{ text: 'Agent相关', link: '/guide/agentq' },
{ text: '登相关', link: '/guide/loginq' }
{ text: '登相关', link: '/guide/loginq' }
]
}
]

View File

@ -16,7 +16,7 @@
## 获取Github的Client ID和密钥
哪吒监控接入Github和Gitee作为后台管理员账号
+ 首先我们需要新建一个验证应用以Github为例Github后打开 https://github.com/settings/developers 依次选择“OAuth Apps” - “New OAuth App”
+ 首先我们需要新建一个验证应用以Github为例Github后打开 https://github.com/settings/developers 依次选择“OAuth Apps” - “New OAuth App”
`Application name` - 随意填写
`Homepage URL` - 填写面板的访问域名,如:"http://cdn.example.com"
`Authorization callback URL` - 填写回调地址,如:"http://cdn.example.com/oauth2/callback"
@ -103,7 +103,7 @@ location ~ ^/(ws|terminal/.+)$ {
首先,先暂时关闭反向代理
正如在其他网站中配置SSL证书一样进入站点设置中的“SSL”你可以选择自动申请 Let´s Encrypt 证书或手动配置已有的证书
完成SSL的设置后你需要回到 https://github.com/settings/developers ,编辑之前创建的验证应用程序,将之前我们填入的"Homepage URL"和"Authorization callback URL"中的域名全部从`http`改为`https`,如:"https://cdn.example.com" 和 "https://cdn.example.com/oauth2/callback" **不更改此项可能会导致你无法登面板后台**
完成SSL的设置后你需要回到 https://github.com/settings/developers ,编辑之前创建的验证应用程序,将之前我们填入的"Homepage URL"和"Authorization callback URL"中的域名全部从`http`改为`https`,如:"https://cdn.example.com" 和 "https://cdn.example.com/oauth2/callback" **不更改此项可能会导致你无法登面板后台**
## FAQ
#### 我对面板提供的数据修改/增加功能不满意,我想要自己修改/增加数据怎么办?

View File

@ -1 +1 @@
# 登相关
# 登相关

View File

@ -3,7 +3,7 @@
<br/>
## 管理员列表
+ 如果你修改了自己的Github/Gitee用户名可以在此项中同步修改否则无法登,多个用户请用逗号隔开: `user1,user2`
+ 如果你修改了自己的Github/Gitee用户名可以在此项中同步修改否则无法登,多个用户请用逗号隔开: `user1,user2`
+ 如需更改管理员账户,请前往 `/opt/nezha/dashboard/data/config.yaml` ,重新设置新的管理员 `Client ID``Client Secret`
<br/>