This commit is contained in:
cantoblanco committed 2024-06-05 00:14:35 +00:00
1 parent 887c20c953
commit af5e633d3b
173 files changed
+282 -282

No files matched your search

+3 -3
View File
@@ -10,7 +10,7 @@
<link rel="preload" href="/assets/inter-roman-latin.2ed14f66.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="modulepreload" href="/assets/chunks/framework.44fd0451.js">
<link rel="modulepreload" href="/assets/chunks/theme.ccb07a11.js">
<link rel="modulepreload" href="/assets/en_US_guide_dashboard.md.645848ac.lean.js">
<link rel="modulepreload" href="/assets/en_US_guide_dashboard.md.564b15f1.lean.js">
<script src="https://cdn.wwads.cn/js/makemoney.js" async="true"></script>
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-FDME8GJGTW"></script>
<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-FDME8GJGTW");</script>
@@ -37,8 +37,8 @@
<span class="line"><span style="color:#A6ACCD;">proxy /terminal/* http://ip:8008 {</span></span>
<span class="line"><span style="color:#A6ACCD;"> websocket</span></span>
<span class="line"><span style="color:#A6ACCD;"> header_upstream -Origin</span></span>
<span class="line"><span style="color:#A6ACCD;">}</span></span></code></pre></div><h2 id="configuring-ssl-in-the-aapanel" tabindex="-1">Configuring SSL in the aaPanel <a class="header-anchor" href="#configuring-ssl-in-the-aapanel" aria-label="Permalink to &quot;Configuring SSL in the aaPanel&quot;">​</a></h2><p>First, temporarily disable the reverse proxy.<br> Like configuring SSL certificates for other websites, enter the “SSL” in the site settings, and you can choose to automatically apply for a Let’s Encrypt certificate or manually configure an existing certificate.<br> After completing the SSL settings, go back to <a href="https://github.com/settings/developers" target="_blank" rel="noreferrer">Github OAuth Apps</a> and edit the previously created OAuth application. Change all the domain parts in &quot;Homepage URL&quot; and &quot;Authorization callback URL&quot; from <code>http</code> to <code>https</code>, such as &quot;<a href="https://dashboard.example.com" target="_blank" rel="noreferrer">https://dashboard.example.com</a>&quot; and &quot;<a href="https://dashboard.example.com/oauth2/callback" target="_blank" rel="noreferrer">https://dashboard.example.com/oauth2/callback</a>&quot;. <strong>Failing to change this may result in being unable to log in to the admin panel.</strong></p><h2 id="updating-the-dashboard" tabindex="-1">Updating the Dashboard <a class="header-anchor" href="#updating-the-dashboard" aria-label="Permalink to &quot;Updating the Dashboard&quot;">​</a></h2><p>Run the script <code>./nezha.sh</code>, and select to restart and update the dashboard.</p></div></div></main><footer class="VPDocFooter" data-v-c4b0d3cf data-v-face870a><!--[--><!--]--><div class="edit-info" data-v-face870a><div class="edit-link" data-v-face870a><a class="VPLink link edit-link-button" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/dashboard.md" target="_blank" rel="noreferrer" data-v-face870a data-v-8f4dc553><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="edit-link-icon" aria-label="edit icon" data-v-face870a><path d="M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"></path><path d="M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"></path></svg> Edit this page on GitHub<!--]--><!----></a></div><div class="last-updated" data-v-face870a><p class="VPLastUpdated" data-v-face870a data-v-7b3ebfe1>Last Updated: <time datetime="2024-06-05T00:08:30.000Z" data-v-7b3ebfe1></time></p></div></div><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><!----></div><div class="pager" data-v-face870a><a class="pager-link next" href="/en_US/guide/agent.html" data-v-face870a><span class="desc" data-v-face870a>Next page</span><span class="title" data-v-face870a>Install Agent</span></a></div></div></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-b2cf3e0b data-v-f7fc41f4><div class="container" data-v-f7fc41f4><p class="message" data-v-f7fc41f4>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) License</p><p class="copyright" data-v-f7fc41f4>Copyright © 2022-present NezhaHQ</p></div></footer><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"en_us_case_index.md\":\"4ce33bf9\",\"en_us_developer_index.md\":\"65e2396c\",\"case_case4.md\":\"966bc6c6\",\"en_us_developer_theme.md\":\"b8f5ef8e\",\"en_us_case_case3.md\":\"9d09cd6a\",\"en_us_case_case4.md\":\"e73af4e3\",\"developer_theme.md\":\"6fd73092\",\"en_us_case_case2.md\":\"156c05ea\",\"en_us_guide_q6.md\":\"dd701652\",\"en_us_developer_l10n.md\":\"54f6a9bd\",\"case_case2.md\":\"42b0a63a\",\"case_case3.md\":\"71f923a8\",\"case_case1.md\":\"e5488388\",\"developer_index.md\":\"ae610ffd\",\"en_us_guide_agentq.md\":\"df0bf60e\",\"en_us_guide_q5.md\":\"477c87ee\",\"en_us_guide_api.md\":\"75545429\",\"en_us_guide_dashboard.md\":\"645848ac\",\"developer_l10n.md\":\"296175b2\",\"en_us_guide_loginq.md\":\"e20982d3\",\"en_us_guide_q2.md\":\"abb7eeab\",\"en_us_guide_dashboardq.md\":\"128c9ab5\",\"en_us_guide_q8.md\":\"f19892de\",\"en_us_guide_notifications.md\":\"5e830ab8\",\"en_us_case_case1.md\":\"69b18038\",\"en_us_guide_agent.md\":\"0747e1ed\",\"en_us_guide_q3.md\":\"3401a231\",\"en_us_case_case5.md\":\"3c6e012a\",\"case_case5.md\":\"e114920c\",\"case_index.md\":\"f5da589d\",\"en_us_guide_q4.md\":\"d5e31a19\",\"en_us_guide_services.md\":\"1f68d826\",\"en_us_guide_q7.md\":\"db51c3db\",\"en_us_guide_servers.md\":\"72116048\",\"guide_dashboardq.md\":\"ecf504ff\",\"en_us_guide_tasks.md\":\"577a4312\",\"guide_services.md\":\"d330cf8e\",\"guide_settings.md\":\"e5b7fcac\",\"guide_agentq.md\":\"babc37d3\",\"guide_q6.md\":\"b354fc64\",\"guide_q2.md\":\"17d230bc\",\"guide_loginq.md\":\"2af51a3a\",\"index.md\":\"fc2b08ee\",\"en_us_index.md\":\"73421e22\",\"guide_notifications.md\":\"38c78f16\",\"guide_q7.md\":\"43b16142\",\"guide_agent.md\":\"38f882d9\",\"en_us_guide_settings.md\":\"0918413b\",\"guide_dashboard.md\":\"1cba73a9\",\"guide_api.md\":\"7b1b60fd\",\"guide_q4.md\":\"6b1282ea\",\"guide_tasks.md\":\"12a890b2\",\"guide_q3.md\":\"0512865c\",\"guide_servers.md\":\"503f6740\",\"guide_q8.md\":\"8d778be4\",\"guide_q1.md\":\"4583d47c\",\"guide_q5.md\":\"851370fc\"}")
<span class="line"><span style="color:#A6ACCD;">}</span></span></code></pre></div><h2 id="configuring-ssl-in-the-aapanel" tabindex="-1">Configuring SSL in the aaPanel <a class="header-anchor" href="#configuring-ssl-in-the-aapanel" aria-label="Permalink to &quot;Configuring SSL in the aaPanel&quot;">​</a></h2><p>First, temporarily disable the reverse proxy.<br> Like configuring SSL certificates for other websites, enter the “SSL” in the site settings, and you can choose to automatically apply for a Let’s Encrypt certificate or manually configure an existing certificate.<br> After completing the SSL settings, go back to <a href="https://github.com/settings/developers" target="_blank" rel="noreferrer">Github OAuth Apps</a> and edit the previously created OAuth application. Change all the domain parts in &quot;Homepage URL&quot; and &quot;Authorization callback URL&quot; from <code>http</code> to <code>https</code>, such as &quot;<a href="https://dashboard.example.com" target="_blank" rel="noreferrer">https://dashboard.example.com</a>&quot; and &quot;<a href="https://dashboard.example.com/oauth2/callback" target="_blank" rel="noreferrer">https://dashboard.example.com/oauth2/callback</a>&quot;. <strong>Failing to change this may result in being unable to log in to the admin panel.</strong></p><h2 id="updating-the-dashboard" tabindex="-1">Updating the Dashboard <a class="header-anchor" href="#updating-the-dashboard" aria-label="Permalink to &quot;Updating the Dashboard&quot;">​</a></h2><p>Run the script <code>./nezha.sh</code>, and select to restart and update the dashboard.</p></div></div></main><footer class="VPDocFooter" data-v-c4b0d3cf data-v-face870a><!--[--><!--]--><div class="edit-info" data-v-face870a><div class="edit-link" data-v-face870a><a class="VPLink link edit-link-button" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/dashboard.md" target="_blank" rel="noreferrer" data-v-face870a data-v-8f4dc553><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="edit-link-icon" aria-label="edit icon" data-v-face870a><path d="M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"></path><path d="M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"></path></svg> Edit this page on GitHub<!--]--><!----></a></div><div class="last-updated" data-v-face870a><p class="VPLastUpdated" data-v-face870a data-v-7b3ebfe1>Last Updated: <time datetime="2024-06-05T00:14:12.000Z" data-v-7b3ebfe1></time></p></div></div><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><!----></div><div class="pager" data-v-face870a><a class="pager-link next" href="/en_US/guide/agent.html" data-v-face870a><span class="desc" data-v-face870a>Next page</span><span class="title" data-v-face870a>Install Agent</span></a></div></div></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-b2cf3e0b data-v-f7fc41f4><div class="container" data-v-f7fc41f4><p class="message" data-v-f7fc41f4>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) License</p><p class="copyright" data-v-f7fc41f4>Copyright © 2022-present NezhaHQ</p></div></footer><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide_q1.md\":\"9c44d7c6\",\"guide_q2.md\":\"90fc0fa0\",\"guide_q3.md\":\"87e45a0c\",\"guide_q4.md\":\"1db96d2f\",\"guide_q5.md\":\"c0000c2d\",\"guide_q6.md\":\"e15f334b\",\"guide_q7.md\":\"43a66b10\",\"guide_servers.md\":\"c1c9d76d\",\"guide_q8.md\":\"732e2dfd\",\"guide_services.md\":\"9507c71b\",\"developer_theme.md\":\"b50d2eaf\",\"en_us_case_case4.md\":\"3093a6c0\",\"index.md\":\"01a0fc66\",\"guide_notifications.md\":\"d6f11641\",\"case_case1.md\":\"be7fae38\",\"case_case3.md\":\"57801206\",\"en_us_case_case3.md\":\"799dd2d2\",\"en_us_guide_q2.md\":\"3d129b56\",\"en_us_guide_q3.md\":\"8ce7d80c\",\"case_case4.md\":\"3ddf9200\",\"en_us_guide_q5.md\":\"1a18f39e\",\"en_us_guide_q6.md\":\"87462315\",\"en_us_guide_q7.md\":\"54ba9420\",\"en_us_guide_q8.md\":\"47658763\",\"en_us_guide_agent.md\":\"c9376c41\",\"en_us_guide_services.md\":\"29090992\",\"en_us_guide_settings.md\":\"63bbd9f1\",\"en_us_guide_tasks.md\":\"bedd3dbc\",\"en_us_index.md\":\"073a04c0\",\"guide_agent.md\":\"8584acc4\",\"guide_agentq.md\":\"226069ac\",\"case_index.md\":\"6fb4808b\",\"developer_index.md\":\"0802bf60\",\"developer_l10n.md\":\"97699e69\",\"en_us_case_case1.md\":\"53b001dd\",\"en_us_case_case2.md\":\"f0af1fcb\",\"guide_tasks.md\":\"ce8d2424\",\"en_us_developer_index.md\":\"516b4a13\",\"en_us_case_case5.md\":\"7e187bee\",\"en_us_case_index.md\":\"61978637\",\"en_us_developer_l10n.md\":\"2594a81b\",\"en_us_developer_theme.md\":\"18cd6d02\",\"case_case2.md\":\"66a7ab32\",\"guide_api.md\":\"d093c9fb\",\"en_us_guide_dashboard.md\":\"564b15f1\",\"en_us_guide_notifications.md\":\"9a87dbd0\",\"guide_dashboard.md\":\"a693f39f\",\"guide_dashboardq.md\":\"ed1e6ebb\",\"guide_loginq.md\":\"272104d7\",\"en_us_guide_agentq.md\":\"1b63befc\",\"en_us_guide_dashboardq.md\":\"2b6c5e3b\",\"en_us_guide_q4.md\":\"610d1745\",\"en_us_guide_loginq.md\":\"7ed1ad64\",\"en_us_guide_servers.md\":\"821981e8\",\"en_us_guide_api.md\":\"5c3d0091\",\"case_case5.md\":\"9f497658\",\"guide_settings.md\":\"7f9f3a08\"}")
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"zh-CN\",\"dir\":\"ltr\",\"title\":\"VitePress\",\"description\":\"A VitePress site\",\"base\":\"/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/nezhahq/nezhahq.github.io\"}],\"algolia\":{\"appId\":\"HP6QF6KMZD\",\"apiKey\":\"fb8bae9ed373d1057e0c07fcf32b3f1a\",\"indexName\":\"nezhahq\"},\"footer\":{\"message\":\"This work is licensed under a <a rel=\\\"license\\\" href=\\\"http://creativecommons.org/licenses/by-nc-sa/4.0/\\\">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) License\",\"copyright\":\"Copyright © 2022-present NezhaHQ\"}},\"locales\":{\"root\":{\"lang\":\"zh-CN\",\"label\":\"简体中文\",\"title\":\"哪吒监控\",\"description\":\"哪吒监控是一个轻量化的运维工具\",\"link\":\"/\",\"themeConfig\":{\"lastUpdatedText\":\"上次更新\",\"editLink\":{\"pattern\":\"https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/:path\",\"text\":\"在GitHub中编辑\"},\"nav\":[{\"text\":\"使用指南\",\"link\":\"/\",\"activeMatch\":\"^/$|^/guide/\"},{\"text\":\"社区项目\",\"link\":\"/case/index.html\",\"activeMatch\":\"^/case/\"},{\"text\":\"开发手册\",\"link\":\"/developer/index.html\",\"activeMatch\":\"^/developer/\"}],\"sidebar\":{\"/\":[{\"text\":\"安装手册\",\"items\":[{\"text\":\"安装 Dashboard\",\"link\":\"/guide/dashboard.html\"},{\"text\":\"安装 Agent\",\"link\":\"/guide/agent.html\"}]},{\"text\":\"管理面板配置\",\"items\":[{\"text\":\"服务器\",\"link\":\"/guide/servers.html\"},{\"text\":\"服务\",\"link\":\"/guide/services.html\"},{\"text\":\"任务\",\"link\":\"/guide/tasks.html\"},{\"text\":\"告警\",\"link\":\"/guide/notifications.html\"},{\"text\":\"设置\",\"link\":\"/guide/settings.html\"},{\"text\":\"API\",\"link\":\"/guide/api.html\"}]},{\"text\":\"常见问题\",\"items\":[{\"text\":\"反向代理 Telegram API\",\"link\":\"/guide/q1.html\"},{\"text\":\"Agent 启动/上线 问题自检流程\",\"link\":\"/guide/q2.html\"},{\"text\":\"反向代理 gRPC 端口\",\"link\":\"/guide/q3.html\"},{\"text\":\"实时通道断开/在线终端连接失败\",\"link\":\"/guide/q4.html\"},{\"text\":\"面板数据迁移、备份和恢复\",\"link\":\"/guide/q5.html\"},{\"text\":\"设置每月重置流量统计\",\"link\":\"/guide/q6.html\"},{\"text\":\"自定义 Agent 监控项目\",\"link\":\"/guide/q7.html\"},{\"text\":\"使用 Cloudflare Access 作为 OAuth2 提供方\",\"link\":\"/guide/q8\"}]},{\"text\":\"排障指南\",\"items\":[{\"text\":\"Dashboard 相关\",\"link\":\"/guide/dashboardq.html\"},{\"text\":\"Agent 相关\",\"link\":\"/guide/agentq.html\"},{\"text\":\"登录相关\",\"link\":\"/guide/loginq.html\"}]}],\"/guide/\":[{\"text\":\"安装手册\",\"items\":[{\"text\":\"安装 Dashboard\",\"link\":\"/guide/dashboard.html\"},{\"text\":\"安装 Agent\",\"link\":\"/guide/agent.html\"}]},{\"text\":\"管理面板配置\",\"items\":[{\"text\":\"服务器\",\"link\":\"/guide/servers.html\"},{\"text\":\"服务\",\"link\":\"/guide/services.html\"},{\"text\":\"任务\",\"link\":\"/guide/tasks.html\"},{\"text\":\"告警\",\"link\":\"/guide/notifications.html\"},{\"text\":\"设置\",\"link\":\"/guide/settings.html\"},{\"text\":\"API\",\"link\":\"/guide/api.html\"}]},{\"text\":\"常见问题\",\"items\":[{\"text\":\"反向代理 Telegram API\",\"link\":\"/guide/q1.html\"},{\"text\":\"Agent 启动/上线 问题自检流程\",\"link\":\"/guide/q2.html\"},{\"text\":\"反向代理 gRPC 端口\",\"link\":\"/guide/q3.html\"},{\"text\":\"实时通道断开/在线终端连接失败\",\"link\":\"/guide/q4.html\"},{\"text\":\"面板数据迁移、备份和恢复\",\"link\":\"/guide/q5.html\"},{\"text\":\"设置每月重置流量统计\",\"link\":\"/guide/q6.html\"},{\"text\":\"自定义 Agent 监控项目\",\"link\":\"/guide/q7.html\"},{\"text\":\"使用 Cloudflare Access 作为 OAuth2 提供方\",\"link\":\"/guide/q8\"}]},{\"text\":\"排障指南\",\"items\":[{\"text\":\"Dashboard 相关\",\"link\":\"/guide/dashboardq.html\"},{\"text\":\"Agent 相关\",\"link\":\"/guide/agentq.html\"},{\"text\":\"登录相关\",\"link\":\"/guide/loginq.html\"}]}],\"/case/\":[{\"text\":\"社区项目\",\"items\":[{\"text\":\"1. 搭建哪吒 Telegram 机器人\",\"link\":\"/case/case1.html\"},{\"text\":\"2. 使用 Siri 语音运行快捷指令查询服务器状态\",\"link\":\"/case/case2.html\"},{\"text\":\"3. 自建多用户多语言 Telegram 服务器状态查询机器人\",\"link\":\"/case/case3.html\"},{\"text\":\"4. Fake-agent,监控数据作弊器\",\"link\":\"/case/case4.html\"},{\"text\":\"5. 使用 Argo 隧道的哪吒服务端\",\"link\":\"/case/case5.html\"}]}],\"/developer/\":[{\"text\":\"开发手册\",\"items\":[{\"text\":\"创建新主题\",\"link\":\"/developer/theme.html\"},{\"text\":\"l10n\",\"link\":\"/developer/l10n.html\"}]}]}}},\"en_US\":{\"lang\":\"en-US\",\"label\":\"English\",\"title\":\"Nezha MoniLine truncated
</body>