deploy: cd46147c70
This commit is contained in:
1 parent
1f418124d8
commit
b99bae96a2
167 files changed
+299
-279
No files matched your search
+3
-3
@@ -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_q3.md.d21d6016.lean.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_q3.md.3f8ec370.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>
|
||||
@@ -42,8 +42,8 @@
|
||||
<span class="line"><span style="color:#A6ACCD;"> versions h2c 2</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;"> }</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;"> }</span></span>
|
||||
<span class="line"><span style="color:#A6ACCD;">}</span></span></code></pre></div><p>Dashboard Configuration</p><ul><li>First login to the Dashboard and enter the admin panel, go to the settings page, fill in the <code>CDN Bypassed Domain/IP</code> with the domain name you configured in Nginx or Caddy, for example <code>data.example.com</code>, and save it.</li><li>Then open the <code>/opt/nezha/dashboard/data/config.yaml</code> file in the panel server and change <code>proxygrpcport</code> to the port that Nginx or Caddy is listening on, such as <code>443</code> as set in the previous step. Since we have SSL/TLS enabled in Nginx or Caddy, we need to set <code>tls</code> to <code>true</code>, restart the panel when you are done.</li></ul><p>Agent Configuration</p><ul><li>Log in to the admin panel, copy the one-click install command, and run the one-click install command on the corresponding server to reinstall the agent.</li></ul><p>Enable Cloudflare CDN (optional)</p><p>According to Cloudflare gRPC requirements: gRPC services must listen on port 443 and must support TLS and HTTP/2. So if you need to enable CDN, you must use port 443 when configuring Nginx or Caddy reverse proxy gRPC and configure the certificate (Caddy will automatically apply and configure the certificate).</p><ul><li>Log in to Cloudflare and select the domain you are using. Go to the <code>Network</code> page and turn on the <code>gRPC</code> switch, then go to the <code>DNS</code> page, find the resolution record of the domain with gRPC configuration, and turn on the orange cloud icon to enable CDN.</li></ul></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/q3.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="2023-09-07T13:57:58.000Z" data-v-7b3ebfe1></time></p></div></div><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><a class="pager-link prev" href="/en_US/guide/q2.html" data-v-face870a><span class="desc" data-v-face870a>Previous page</span><span class="title" data-v-face870a>Agent cannot start/on-line. Steps to review logs and troubleshoot</span></a></div><div class="has-prev pager" data-v-face870a><a class="pager-link next" href="/en_US/guide/q4.html" data-v-face870a><span class="desc" data-v-face870a>Next page</span><span class="title" data-v-face870a>Real-time channel disconnection/online terminal connection failure</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_guide_q7.md\":\"59607a8e\",\"en_us_guide_servers.md\":\"ba249cfd\",\"en_us_guide_q4.md\":\"eba37485\",\"en_us_guide_q5.md\":\"8c158a4d\",\"en_us_guide_q3.md\":\"d21d6016\",\"en_us_guide_services.md\":\"d1ab9e6b\",\"en_us_guide_q6.md\":\"372ef657\",\"en_us_guide_dashboardq.md\":\"ee464114\",\"en_us_guide_notifications.md\":\"fa02a147\",\"en_us_case_case5.md\":\"cfa48121\",\"guide_agent.md\":\"080ea210\",\"guide_q2.md\":\"6415b170\",\"en_us_guide_loginq.md\":\"21eb3f95\",\"guide_q7.md\":\"66679f6d\",\"guide_q6.md\":\"a0215a1c\",\"guide_dashboard.md\":\"3c4179ba\",\"guide_loginq.md\":\"f7ebb972\",\"en_us_guide_settings.md\":\"6426a6ad\",\"guide_q4.md\":\"36828eda\",\"guide_tasks.md\":\"cdc60267\",\"en_us_guide_tasks.md\":\"8a459203\",\"guide_agentq.md\":\"a5efd969\",\"guide_services.md\":\"57d7b425\",\"guide_q3.md\":\"e646a6bd\",\"guide_q5.md\":\"ed93f578\",\"guide_settings.md\":\"5b9df869\",\"guide_q1.md\":\"0c0b334a\",\"en_us_index.md\":\"a4605cd4\",\"en_us_guide_q2.md\":\"91d533fc\",\"guide_dashboardq.md\":\"b884929b\",\"guide_servers.md\":\"9e84fb36\",\"index.md\":\"b1000da2\",\"en_us_guide_agentq.md\":\"786e040e\",\"developer_index.md\":\"d09b0610\",\"en_us_guide_dashboard.md\":\"eecfdf05\",\"case_case1.md\":\"57daa004\",\"case_case2.md\":\"226b1184\",\"guide_api.md\":\"85666039\",\"case_case3.md\":\"aaacb187\",\"case_case4.md\":\"f9efc87a\",\"case_case5.md\":\"cdbca667\",\"case_index.md\":\"877e7524\",\"developer_l10n.md\":\"89b2361f\",\"developer_theme.md\":\"7bb5653c\",\"en_us_case_case1.md\":\"bd95d76d\",\"en_us_case_case2.md\":\"9d97029e\",\"en_us_case_case3.md\":\"995adc82\",\"guide_notifications.md\":\"e0d9d014\",\"en_us_developer_theme.md\":\"0373f5d6\",\"en_us_case_index.md\":\"f6a14830\",\"en_us_developer_index.md\":\"28ea9c0a\",\"en_us_developer_l10n.md\":\"eff23c46\",\"en_us_guide_agent.md\":\"e1a6ff94\",\"en_us_guide_api.md\":\"4edce7fe\",\"en_us_case_case4.md\":\"4b4275f1\"}")
|
||||
<span class="line"><span style="color:#A6ACCD;">}</span></span></code></pre></div><p>Dashboard Configuration</p><ul><li>First login to the Dashboard and enter the admin panel, go to the settings page, fill in the <code>CDN Bypassed Domain/IP</code> with the domain name you configured in Nginx or Caddy, for example <code>data.example.com</code>, and save it.</li><li>Then open the <code>/opt/nezha/dashboard/data/config.yaml</code> file in the panel server and change <code>proxygrpcport</code> to the port that Nginx or Caddy is listening on, such as <code>443</code> as set in the previous step. Since we have SSL/TLS enabled in Nginx or Caddy, we need to set <code>tls</code> to <code>true</code>, restart the panel when you are done.</li></ul><p>Agent Configuration</p><ul><li>Log in to the admin panel, copy the one-click install command, and run the one-click install command on the corresponding server to reinstall the agent.</li></ul><p>Enable Cloudflare CDN (optional)</p><p>According to Cloudflare gRPC requirements: gRPC services must listen on port 443 and must support TLS and HTTP/2. So if you need to enable CDN, you must use port 443 when configuring Nginx or Caddy reverse proxy gRPC and configure the certificate (Caddy will automatically apply and configure the certificate).</p><ul><li>Log in to Cloudflare and select the domain you are using. Go to the <code>Network</code> page and turn on the <code>gRPC</code> switch, then go to the <code>DNS</code> page, find the resolution record of the domain with gRPC configuration, and turn on the orange cloud icon to enable CDN.</li></ul></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/q3.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="2023-09-25T02:25:37.000Z" data-v-7b3ebfe1></time></p></div></div><div class="prev-next" data-v-face870a><div class="pager" data-v-face870a><a class="pager-link prev" href="/en_US/guide/q2.html" data-v-face870a><span class="desc" data-v-face870a>Previous page</span><span class="title" data-v-face870a>Agent cannot start/on-line. Steps to review logs and troubleshoot</span></a></div><div class="has-prev pager" data-v-face870a><a class="pager-link next" href="/en_US/guide/q4.html" data-v-face870a><span class="desc" data-v-face870a>Next page</span><span class="title" data-v-face870a>Real-time channel disconnection/online terminal connection failure</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("{\"case_case1.md\":\"72d9e007\",\"case_case2.md\":\"1901382b\",\"case_case4.md\":\"7c28e060\",\"case_case3.md\":\"735e605c\",\"case_case5.md\":\"fa575d37\",\"case_index.md\":\"cb87390a\",\"developer_index.md\":\"f5ca9a10\",\"developer_l10n.md\":\"4f2a87bc\",\"guide_q2.md\":\"71bc8d63\",\"en_us_case_case1.md\":\"6fdf4343\",\"en_us_case_case2.md\":\"8df9e418\",\"en_us_case_case3.md\":\"f41c2755\",\"en_us_case_case4.md\":\"ea4980df\",\"en_us_case_case5.md\":\"58dc5a3c\",\"en_us_case_index.md\":\"2cffd156\",\"en_us_developer_l10n.md\":\"27f92860\",\"en_us_developer_theme.md\":\"91a5f8ea\",\"en_us_guide_agentq.md\":\"46a333df\",\"en_us_guide_api.md\":\"7a6cfa84\",\"en_us_guide_dashboard.md\":\"e4ab257e\",\"en_us_guide_dashboardq.md\":\"54a3d434\",\"en_us_guide_loginq.md\":\"71f2af42\",\"en_us_guide_notifications.md\":\"f1448b4d\",\"en_us_guide_q2.md\":\"8b3617ad\",\"en_us_guide_q4.md\":\"799fab11\",\"en_us_guide_q5.md\":\"f6b97eb6\",\"en_us_guide_q6.md\":\"c7d53c51\",\"en_us_guide_q7.md\":\"87965f8c\",\"en_us_guide_servers.md\":\"232c6f2b\",\"en_us_guide_services.md\":\"b946b3ed\",\"en_us_guide_settings.md\":\"86e4e725\",\"en_us_guide_tasks.md\":\"0a64e6a2\",\"en_us_index.md\":\"d686da82\",\"guide_q4.md\":\"ebabc156\",\"guide_dashboard.md\":\"e3e15c79\",\"guide_dashboardq.md\":\"936b73b7\",\"guide_loginq.md\":\"f2a30012\",\"guide_notifications.md\":\"96525c24\",\"guide_q1.md\":\"ecee61d9\",\"en_us_guide_agent.md\":\"e82ca729\",\"developer_theme.md\":\"b009e12e\",\"guide_q3.md\":\"6e2e3c01\",\"guide_q6.md\":\"419385af\",\"guide_q7.md\":\"d429ee50\",\"guide_servers.md\":\"ac6c68ba\",\"guide_services.md\":\"743af3a9\",\"guide_agent.md\":\"75f5848a\",\"guide_q5.md\":\"f49b56a3\",\"en_us_developer_index.md\":\"0e0aeee6\",\"guide_settings.md\":\"674ffe36\",\"guide_tasks.md\":\"e2871a43\",\"index.md\":\"bde10d4f\",\"en_us_guide_q3.md\":\"3f8ec370\",\"guide_agentq.md\":\"99152d7c\",\"guide_api.md\":\"d49fd8a1\"}")
|
||||
__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