deploy: 5517fa42ad
This commit is contained in:
1 parent
c5ef55d547
commit
422ebcca54
168 files changed
+275
-275
No files matched your search
@@ -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.1625126e.js">
|
||||
<link rel="modulepreload" href="/assets/chunks/theme.776be62d.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_dashboard.md.1ea9da83.lean.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_dashboard.md.56cbcd14.lean.js">
|
||||
<script id="check-dark-light">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
|
||||
</head>
|
||||
<body>
|
||||
@@ -34,8 +34,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></li></ul><br><br><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 "Configuring SSL in the aaPanel""></a></h2><p>First, temporarily disable the reverse proxy<br> As with other websites, you can choose to automatically apply for a Let´s Encrypt certificate or manually configure an existing certificate by going to "SSL" in the site settings<br> After you finish setting up SSL, you need to go back to <a href="https://github.com/settings/developers" target="_blank" rel="noreferrer">https://github.com/settings/developers</a> and edit the authentication application you created before, change all the domain names in the "Homepage URL" and "Authorization callback URL" you filled in before from <code>http</code> to <code>https</code>, such as: "<a href="https://cdn.example.com" target="_blank" rel="noreferrer">https://cdn.example.com</a>" and "<a href="https://cdn.example.com/oauth2/callback" target="_blank" rel="noreferrer">https://cdn.example.com/oauth2/callback</a>", <strong>If you don't change these links, you may not be able to log into the admin panel</strong></p><h2 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-label="Permalink to "FAQ""></a></h2><h3 id="what-should-i-do-if-terminal-or-ws-cannot-be-connected-after-https-is-enabled" tabindex="-1">What should I do if /terminal or /ws cannot be connected after HTTPS is enabled? <a class="header-anchor" href="#what-should-i-do-if-terminal-or-ws-cannot-be-connected-after-https-is-enabled" aria-label="Permalink to "What should I do if /terminal or /ws cannot be connected after HTTPS is enabled?""></a></h3><p>It is often caused by incomplete certificates. Please add -d to the agent running parameters. If there is x509: certificate signed by unknown authority in the log, replacing the complete certificate can solve the problem 100%.</p><h3 id="i-am-not-satisfied-with-the-data-modification-or-addition-function-provided-by-the-dashboard-what-if-i-want-to-modify-or-add-data-myself" tabindex="-1">I am not satisfied with the data modification or addition function provided by the Dashboard, what if I want to modify or add data myself? <a class="header-anchor" href="#i-am-not-satisfied-with-the-data-modification-or-addition-function-provided-by-the-dashboard-what-if-i-want-to-modify-or-add-data-myself" aria-label="Permalink to "I am not satisfied with the data modification or addition function provided by the Dashboard, what if I want to modify or add data myself?""></a></h3><p>Commonly used in requirements such as batch installation of Agents, where you can modify the database directly.<br> Please note that not everything can be modified in the database, wrong modification will lead to data confusion and failure to start Dashboard, <strong>please do not modify the database at will!</strong></p><div class="danger custom-block"><p class="custom-block-title">DANGER</p><p>Again, <strong>please do not modify the database at will!</strong></p></div><p>If you need to modify the data in the database, please <strong>stop</strong> the Dashboard container before modifying it.<br> The database type is sqlite3, located in <code>/opt/nezha/dashboard/data/sqlite.db</code>, please backup before modifying the data</p><h3 id="what-are-each-table-or-column-in-the-database" tabindex="-1">What are each table or column in the database? <a class="header-anchor" href="#what-are-each-table-or-column-in-the-database" aria-label="Permalink to "What are each table or column in the database?""></a></h3><p>The documentation does not provide an explanation of the database. If you have the ability to modify the database, you should be able to read it with a little thinking.</p><h3 id="does-dashboard-update-automatically" tabindex="-1">Does Dashboard update automatically? <a class="header-anchor" href="#does-dashboard-update-automatically" aria-label="Permalink to "Does Dashboard update automatically?""></a></h3><p>The Agent normally updates automatically, but the Dashboard does not and needs to be updated manually.</p><h3 id="how-do-i-update-the-dashboard" tabindex="-1">How do I update the Dashboard? <a class="header-anchor" href="#how-do-i-update-the-dashboard" aria-label="Permalink to "How do I update the Dashboard?""></a></h3><p>Run the script <code>. /nezha.sh</code> and select restart Dashboard and update</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="nLine truncated
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case4.md\":\"463df0ea\",\"case_case1.md\":\"718fbd8f\",\"case_case2.md\":\"c7539f3c\",\"developer_theme.md\":\"95894f6f\",\"en_us_case_case1.md\":\"198f06c3\",\"en_us_case_case2.md\":\"9aceafc7\",\"en_us_case_case3.md\":\"2defad7d\",\"en_us_case_case4.md\":\"dbdb8a83\",\"en_us_case_case5.md\":\"0c6c8b99\",\"developer_index.md\":\"99b3045d\",\"en_us_case_index.md\":\"4df1a374\",\"en_us_developer_l10n.md\":\"2d0edfd8\",\"en_us_developer_index.md\":\"287d43f4\",\"en_us_developer_theme.md\":\"8e648f67\",\"case_case3.md\":\"4cb3893e\",\"developer_l10n.md\":\"1b3f58fa\",\"case_index.md\":\"99941f04\",\"en_us_guide_api.md\":\"69139bf5\",\"en_us_guide_dashboard.md\":\"1ea9da83\",\"en_us_guide_agentq.md\":\"b8b4a9a6\",\"en_us_guide_agent.md\":\"06fbd76f\",\"en_us_guide_dashboardq.md\":\"2fae8ecb\",\"en_us_guide_loginq.md\":\"42fc218a\",\"case_case5.md\":\"061c8957\",\"en_us_guide_notifications.md\":\"5dd88dc0\",\"en_us_guide_q5.md\":\"c7d4f6e8\",\"en_us_guide_services.md\":\"0cab4d47\",\"en_us_guide_q7.md\":\"4bcfe48f\",\"en_us_guide_q3.md\":\"eb992bff\",\"en_us_guide_settings.md\":\"818357d3\",\"en_us_guide_q6.md\":\"7cc4d967\",\"en_us_guide_q4.md\":\"ca28940a\",\"en_us_guide_tasks.md\":\"39e53a65\",\"en_us_guide_servers.md\":\"f3893d77\",\"en_us_guide_q2.md\":\"1f9c0d46\",\"guide_q2.md\":\"3208accd\",\"guide_q6.md\":\"0c0dcdf7\",\"guide_tasks.md\":\"e1eb204e\",\"guide_services.md\":\"1170bbfb\",\"index.md\":\"fa9ac796\",\"guide_agentq.md\":\"7cdc042b\",\"guide_api.md\":\"f2dc49b6\",\"guide_dashboardq.md\":\"acb8e234\",\"guide_notifications.md\":\"1249c7d1\",\"guide_q1.md\":\"da0755e4\",\"guide_loginq.md\":\"2847aa34\",\"guide_q7.md\":\"e6aaecd7\",\"guide_q5.md\":\"7bdf937b\",\"guide_agent.md\":\"414f6f78\",\"en_us_index.md\":\"8699236d\",\"guide_dashboard.md\":\"4624f7ab\",\"guide_q3.md\":\"ed8d20e6\",\"guide_servers.md\":\"26005104\",\"guide_q4.md\":\"d8a16288\",\"guide_settings.md\":\"a642872d\"}")
|
||||
<span class="line"><span style="color:#A6ACCD;">}</span></span></code></pre></div></li></ul><br><br><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 "Configuring SSL in the aaPanel""></a></h2><p>First, temporarily disable the reverse proxy<br> As with other websites, you can choose to automatically apply for a Let´s Encrypt certificate or manually configure an existing certificate by going to "SSL" in the site settings<br> After you finish setting up SSL, you need to go back to <a href="https://github.com/settings/developers" target="_blank" rel="noreferrer">https://github.com/settings/developers</a> and edit the authentication application you created before, change all the domain names in the "Homepage URL" and "Authorization callback URL" you filled in before from <code>http</code> to <code>https</code>, such as: "<a href="https://cdn.example.com" target="_blank" rel="noreferrer">https://cdn.example.com</a>" and "<a href="https://cdn.example.com/oauth2/callback" target="_blank" rel="noreferrer">https://cdn.example.com/oauth2/callback</a>", <strong>If you don't change these links, you may not be able to log into the admin panel</strong></p><h2 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-label="Permalink to "FAQ""></a></h2><h3 id="what-should-i-do-if-terminal-or-ws-cannot-be-connected-after-https-is-enabled" tabindex="-1">What should I do if /terminal or /ws cannot be connected after HTTPS is enabled? <a class="header-anchor" href="#what-should-i-do-if-terminal-or-ws-cannot-be-connected-after-https-is-enabled" aria-label="Permalink to "What should I do if /terminal or /ws cannot be connected after HTTPS is enabled?""></a></h3><p>It is often caused by incomplete certificates. Please add -d to the agent running parameters. If there is x509: certificate signed by unknown authority in the log, replacing the complete certificate can solve the problem 100%.</p><h3 id="i-am-not-satisfied-with-the-data-modification-or-addition-function-provided-by-the-dashboard-what-if-i-want-to-modify-or-add-data-myself" tabindex="-1">I am not satisfied with the data modification or addition function provided by the Dashboard, what if I want to modify or add data myself? <a class="header-anchor" href="#i-am-not-satisfied-with-the-data-modification-or-addition-function-provided-by-the-dashboard-what-if-i-want-to-modify-or-add-data-myself" aria-label="Permalink to "I am not satisfied with the data modification or addition function provided by the Dashboard, what if I want to modify or add data myself?""></a></h3><p>Commonly used in requirements such as batch installation of Agents, where you can modify the database directly.<br> Please note that not everything can be modified in the database, wrong modification will lead to data confusion and failure to start Dashboard, <strong>please do not modify the database at will!</strong></p><div class="danger custom-block"><p class="custom-block-title">DANGER</p><p>Again, <strong>please do not modify the database at will!</strong></p></div><p>If you need to modify the data in the database, please <strong>stop</strong> the Dashboard container before modifying it.<br> The database type is sqlite3, located in <code>/opt/nezha/dashboard/data/sqlite.db</code>, please backup before modifying the data</p><h3 id="what-are-each-table-or-column-in-the-database" tabindex="-1">What are each table or column in the database? <a class="header-anchor" href="#what-are-each-table-or-column-in-the-database" aria-label="Permalink to "What are each table or column in the database?""></a></h3><p>The documentation does not provide an explanation of the database. If you have the ability to modify the database, you should be able to read it with a little thinking.</p><h3 id="does-dashboard-update-automatically" tabindex="-1">Does Dashboard update automatically? <a class="header-anchor" href="#does-dashboard-update-automatically" aria-label="Permalink to "Does Dashboard update automatically?""></a></h3><p>The Agent normally updates automatically, but the Dashboard does not and needs to be updated manually.</p><h3 id="how-do-i-update-the-dashboard" tabindex="-1">How do I update the Dashboard? <a class="header-anchor" href="#how-do-i-update-the-dashboard" aria-label="Permalink to "How do I update the Dashboard?""></a></h3><p>Run the script <code>. /nezha.sh</code> and select restart Dashboard and update</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="nLine truncated
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case3.md\":\"89e56ec5\",\"case_case4.md\":\"84871128\",\"developer_l10n.md\":\"47eb08b5\",\"en_us_case_case1.md\":\"f4d76ff8\",\"developer_index.md\":\"3c6c2aba\",\"developer_theme.md\":\"65840376\",\"case_case2.md\":\"41da2807\",\"case_index.md\":\"979fe688\",\"case_case1.md\":\"3e063eb8\",\"case_case5.md\":\"b61cf0eb\",\"en_us_case_case2.md\":\"b87079b0\",\"en_us_case_case3.md\":\"7df60bbc\",\"en_us_case_case4.md\":\"eea00cb1\",\"en_us_case_case5.md\":\"edff1715\",\"guide_q7.md\":\"9098990c\",\"en_us_case_index.md\":\"0afdbe30\",\"en_us_developer_l10n.md\":\"78472df9\",\"en_us_developer_theme.md\":\"cd15fd44\",\"en_us_guide_api.md\":\"9eca6784\",\"en_us_guide_dashboard.md\":\"56cbcd14\",\"en_us_guide_dashboardq.md\":\"aed8c5e8\",\"en_us_guide_q6.md\":\"36a7bee4\",\"en_us_guide_q7.md\":\"135ea29c\",\"en_us_guide_servers.md\":\"75367206\",\"en_us_guide_settings.md\":\"81d11759\",\"en_us_guide_tasks.md\":\"bddea402\",\"en_us_index.md\":\"6e3ff5ad\",\"guide_dashboard.md\":\"2455fb8a\",\"guide_servers.md\":\"695f6c3b\",\"guide_loginq.md\":\"8bb04638\",\"guide_services.md\":\"3814251b\",\"guide_settings.md\":\"17ff071c\",\"guide_dashboardq.md\":\"acfa2923\",\"guide_q3.md\":\"62b91120\",\"guide_q4.md\":\"1d60b64b\",\"guide_q5.md\":\"a8d2f47c\",\"guide_q6.md\":\"962b0cb9\",\"en_us_developer_index.md\":\"cdf339c4\",\"en_us_guide_notifications.md\":\"a3af0efe\",\"en_us_guide_loginq.md\":\"2295a8a2\",\"guide_agentq.md\":\"b75176a1\",\"en_us_guide_q4.md\":\"48c67a56\",\"en_us_guide_q5.md\":\"a429da3e\",\"guide_q2.md\":\"dd6e6cfc\",\"en_us_guide_agent.md\":\"d0073c53\",\"guide_notifications.md\":\"a0451439\",\"en_us_guide_q3.md\":\"23874353\",\"en_us_guide_services.md\":\"f3a9ab96\",\"guide_tasks.md\":\"baf87ee7\",\"guide_q1.md\":\"51ea8a98\",\"index.md\":\"d19b100a\",\"en_us_guide_agentq.md\":\"c3c110d2\",\"guide_api.md\":\"9827e3da\",\"en_us_guide_q2.md\":\"525413be\",\"guide_agent.md\":\"fe43b80b\"}")
|
||||
__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\":\"TG 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\":\"排障指南\",\"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\":\"TG 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\":\"排障指南\",\"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 Monitoring\",\"description\":\"Nezha Monitoring is a lightweight OLine truncated
|
||||
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user