This commit is contained in:
cantoblanco committed 2024-07-09 15:33:27 +00:00
1 parent 1c40424120
commit 479a81eb24
179 files changed
+294 -294

No files matched your search

+3 -3
View File
@@ -12,7 +12,7 @@
<link rel="preload" href="/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="modulepreload" href="/assets/chunks/framework.BmdFiWrL.js">
<link rel="modulepreload" href="/assets/chunks/theme.D1TJKLdg.js">
<link rel="modulepreload" href="/assets/guide_dashboard.md.Y3BLzC-p.lean.js">
<link rel="modulepreload" href="/assets/guide_dashboard.md.GNC4wQIY.lean.js">
<script src="https://cdn.wwads.cn/js/makemoney.js" async></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>
@@ -42,8 +42,8 @@
<span class="line"><span>proxy /terminal/* http://ip:8008 {</span></span>
<span class="line"><span> websocket</span></span>
<span class="line"><span> header_upstream -Origin</span></span>
<span class="line"><span>}</span></span></code></pre></div><h2 id="在宝塔面板中配置-ssl" tabindex="-1">在宝塔面板中配置 SSL <a class="header-anchor" href="#在宝塔面板中配置-ssl" aria-label="Permalink to &quot;在宝塔面板中配置 SSL&quot;">​</a></h2><p>首先,先暂时关闭反向代理。<br> 正如在其他网站中配置 SSL 证书一样,进入站点设置中的 “SSL”,你可以选择自动申请 Let´s Encrypt 证书或手动配置已有的证书。<br> 完成 SSL 的设置后,你需要回到 <a href="https://github.com/settings/developers" target="_blank" rel="noreferrer">https://github.com/settings/developers</a> ,编辑之前创建的验证应用程序,将之前我们填入的 &quot;Homepage URL&quot; 和 &quot;Authorization callback URL&quot; 中的域名全部从 <code>http</code> 改为 <code>https</code>,如:&quot;<a href="https://dashboard.example.com" target="_blank" rel="noreferrer">https://dashboard.example.com</a>&quot; 和 &quot;<a href="https://dashboard.example.com/oauth2/callback" target="_blank" rel="noreferrer">https://dashboard.example.com/oauth2/callback</a>&quot; ,<strong>不更改此项可能会导致你无法登录面板后台</strong>。</p><h2 id="更新-dashboard" tabindex="-1">更新 Dashboard <a class="header-anchor" href="#更新-dashboard" aria-label="Permalink to &quot;更新 Dashboard&quot;">​</a></h2><p>运行脚本 <code>./nezha.sh</code> ,选择重启面板并更新。</p></div></div></main><footer class="VPDocFooter" data-v-39a288b8 data-v-d4a0bba5><!--[--><!--]--><div class="edit-info" data-v-d4a0bba5><div class="edit-link" data-v-d4a0bba5><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/guide/dashboard.md" target="_blank" rel="noreferrer" data-v-d4a0bba5><!--[--><span class="vpi-square-pen edit-link-icon" data-v-d4a0bba5></span> 在GitHub中编辑<!--]--></a></div><div class="last-updated" data-v-d4a0bba5><p class="VPLastUpdated" data-v-d4a0bba5 data-v-7e05ebdb>上次更新: <time datetime="2024-07-09T15:24:24.000Z" data-v-7e05ebdb></time></p></div></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-d4a0bba5><span class="visually-hidden" id="doc-footer-aria-label" data-v-d4a0bba5>Pager</span><div class="pager" data-v-d4a0bba5><!----></div><div class="pager" data-v-d4a0bba5><a class="VPLink link pager-link next" href="/guide/agent.html" data-v-d4a0bba5><!--[--><span class="desc" data-v-d4a0bba5>Next page</span><span class="title" data-v-d4a0bba5>安装 Agent</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-5d98c3a5 data-v-e315a0ad><div class="container" data-v-e315a0ad><p class="message" data-v-e315a0ad>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-e315a0ad>Copyright © 2022-present NezhaHQ</p></div></footer><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"case_case1.md\":\"1BpjhC-_\",\"case_case3.md\":\"tPfaIBMx\",\"case_case2.md\":\"kor88p62\",\"developer_index.md\":\"CzQOGjkB\",\"en_us_case_index.md\":\"Cy3xKMOR\",\"developer_theme.md\":\"B8TpT_bP\",\"en_us_case_case5.md\":\"DYUEFQ3q\",\"en_us_developer_index.md\":\"DePt2ghE\",\"en_us_case_case2.md\":\"D2-T_KKb\",\"en_us_developer_theme.md\":\"CLt81czv\",\"en_us_guide_agentq.md\":\"DE2Sshfd\",\"en_us_case_case1.md\":\"4mkiaXXt\",\"en_us_guide_dashboard.md\":\"DlNHVzWd\",\"en_us_developer_l10n.md\":\"C0xJ-n0X\",\"en_us_guide_dashboardq.md\":\"E5blTFK0\",\"en_us_case_case4.md\":\"DaVRQa-U\",\"en_us_guide_loginq.md\":\"BGen288m\",\"case_case5.md\":\"DFC5io27\",\"en_us_guide_q7.md\":\"D011yDRt\",\"en_us_guide_notifications.md\":\"D8UgmCEr\",\"en_us_guide_q4.md\":\"BiAlSIFi\",\"en_us_guide_q5.md\":\"BD49CceC\",\"en_us_guide_q2.md\":\"B1fd0PKa\",\"en_us_guide_q6.md\":\"2We3BSiU\",\"en_us_guide_api.md\":\"DvE6YIXd\",\"developer_l10n.md\":\"DdEhGHli\",\"en_us_case_case3.md\":\"BNBH2mtH\",\"case_case4.md\":\"CbMf1l8C\",\"guide_q1.md\":\"D0fn7UbR\",\"en_us_guide_agent.md\":\"CKLNu1FC\",\"guide_q5.md\":\"BiwDzDsE\",\"guide_q3.md\":\"CwQJLKAf\",\"guide_q2.md\":\"qd3cw64i\",\"guide_q6.md\":\"D3A_XEq1\",\"guide_q7.md\":\"B2hp2kZZ\",\"guide_q8.md\":\"DqUc8Uax\",\"guide_q9.md\":\"B4yAcgcd\",\"guide_servers.md\":\"DMqZ4pZ1\",\"guide_q4.md\":\"CR58Mf42\",\"guide_tasks.md\":\"DC-8B7hI\",\"guide_dashboardq.md\":\"smAOnJcd\",\"index.md\":\"CJTOf5mO\",\"guide_agent.md\":\"BwiNdgqC\",\"en_us_guide_tasks.md\":\"CDtof05d\",\"guide_settings.md\":\"BqaEwelK\",\"case_index.md\":\"ayQqHCXm\",\"en_us_guide_q3.md\":\"O7A4RKsl\",\"en_us_guide_servers.md\":\"DT6zjuuI\",\"en_us_guide_q9.md\":\"iUCEmCCi\",\"en_us_guide_settings.md\":\"BjX2FwNv\",\"guide_agentq.md\":\"Bf3vbMsW\",\"guide_api.md\":\"CR6JUGYL\",\"guide_services.md\":\"hhiXfaXU\",\"en_us_index.md\":\"LqQ6p230\",\"en_us_guide_services.md\":\"BODT9-E0\",\"en_us_guide_q8.md\":\"DrUvQ0lr\",\"guide_dashboard.md\":\"Y3BLzC-p\",\"guide_loginq.md\":\"YdXqpoOL\",\"guide_notifications.md\":\"FCB5Ik9v\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"zh-CN\",\"dir\":\"ltr\",\"title\":\"VitePress\",\"description\":\"A VitePress site\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":{\"src\":\"/logo.png\",\"width\":24,\"height\":24},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/nezhahq/nezhahq.github.io\"},{\"icon\":{\"svg\":\"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 496 512\\\"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d=\\\"M248 8C111 8 0 119 0 256S111 504 248 504 496 393 496 256 385 8 248 8zM363 176.7c-3.7 39.2-19.9 134.4-28.1 178.3-3.5 18.6-10.3 24.8-16.9 25.4-14.4 1.3-25.3-9.5-39.3-18.7-21.8-14.3-34.2-23.2-55.3-37.2-24.5-16.1-8.6-25 5.3-39.5 3.7-3.8 67.1-61.5 68.3-66.7 .2-.7 .3-3.1-1.2-4.4s-3.6-.8-5.1-.5q-3.3 .7-104.6 69.1-14.8 10.2-26.9 9.9c-8.9-.2-25.9-5-38.6-9.1-15.5-5-27.9-7.7-26.8-16.3q.8-6.7 18.5-13.7 108.4-47.2 144.6-62.3c68.9-28.6 83.2-33.6 92.5-33.8 2.1 0 6.6 .5 9.6 2.9a10.5 10.5 0 0 1 3.5 6.7A43.8 43.8 0 0 1 363 176.7z\\\"/></svg>\"},\"link\":\"https://t.me/nezhanews\"}],\"search\":{\"provider\":\"algolia\",\"options\":{\"appId\":\"HP6QF6KMZD\",\"apiKey\":\"fb8bae9ed373d1057e0c07fcf32b3f1a\",\"indexName\":\"nezhahq\",\"locales\":{\"root\":{\"placeholder\":\"搜索文档\",\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"searchBox\":{\"resetButtonTitle\":\"清除查询条件\",\"resetButtonAriaLabel\":\"清除查询条件\",\"cancelButtonText\":\"取消\",\"cancelButtonAriaLabel\":\"取消\"},\"startScreen\":{\"recentSearchesTitle\":\"搜索历史\",\"noRecentSearchesText\":\"没有搜索历史\",\"saveRecentSearchButtonTitle\":\"保存至搜索历史\",\"removeRecentSearchButtonTitle\":\"从搜索历史中移除\",\"favoriteSearchesTitle\":\"收藏\",\"removeFavoriteSearchButtonTitle\":\"从收藏中移除\"},\"errorScreen\":{\"titleText\":\"无法获取结果\",\"helpText\":\"你可能需要检查你的网络连接\"},\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"searchByText\":\"搜索提供者\"},\"noResultsScreen\":{\"noResultsText\":\"无法找到相关结果\",\"suggestedQueryText\":\"你可以尝试查询\",\"reportMissingResultsText\":\"你认为该查询应该有结果?\",\"reportMissingResultsLinkText\":\"点击反馈\"}}}}}}},\"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\":\"简体中文\",\"tLine truncated
<span class="line"><span>}</span></span></code></pre></div><h2 id="在宝塔面板中配置-ssl" tabindex="-1">在宝塔面板中配置 SSL <a class="header-anchor" href="#在宝塔面板中配置-ssl" aria-label="Permalink to &quot;在宝塔面板中配置 SSL&quot;">​</a></h2><p>首先,先暂时关闭反向代理。<br> 正如在其他网站中配置 SSL 证书一样,进入站点设置中的 “SSL”,你可以选择自动申请 Let´s Encrypt 证书或手动配置已有的证书。<br> 完成 SSL 的设置后,你需要回到 <a href="https://github.com/settings/developers" target="_blank" rel="noreferrer">https://github.com/settings/developers</a> ,编辑之前创建的验证应用程序,将之前我们填入的 &quot;Homepage URL&quot; 和 &quot;Authorization callback URL&quot; 中的域名全部从 <code>http</code> 改为 <code>https</code>,如:&quot;<a href="https://dashboard.example.com" target="_blank" rel="noreferrer">https://dashboard.example.com</a>&quot; 和 &quot;<a href="https://dashboard.example.com/oauth2/callback" target="_blank" rel="noreferrer">https://dashboard.example.com/oauth2/callback</a>&quot; ,<strong>不更改此项可能会导致你无法登录面板后台</strong>。</p><h2 id="更新-dashboard" tabindex="-1">更新 Dashboard <a class="header-anchor" href="#更新-dashboard" aria-label="Permalink to &quot;更新 Dashboard&quot;">​</a></h2><p>运行脚本 <code>./nezha.sh</code> ,选择重启面板并更新。</p></div></div></main><footer class="VPDocFooter" data-v-39a288b8 data-v-d4a0bba5><!--[--><!--]--><div class="edit-info" data-v-d4a0bba5><div class="edit-link" data-v-d4a0bba5><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/guide/dashboard.md" target="_blank" rel="noreferrer" data-v-d4a0bba5><!--[--><span class="vpi-square-pen edit-link-icon" data-v-d4a0bba5></span> 在GitHub中编辑<!--]--></a></div><div class="last-updated" data-v-d4a0bba5><p class="VPLastUpdated" data-v-d4a0bba5 data-v-7e05ebdb>上次更新: <time datetime="2024-07-09T15:32:29.000Z" data-v-7e05ebdb></time></p></div></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-d4a0bba5><span class="visually-hidden" id="doc-footer-aria-label" data-v-d4a0bba5>Pager</span><div class="pager" data-v-d4a0bba5><!----></div><div class="pager" data-v-d4a0bba5><a class="VPLink link pager-link next" href="/guide/agent.html" data-v-d4a0bba5><!--[--><span class="desc" data-v-d4a0bba5>Next page</span><span class="title" data-v-d4a0bba5>安装 Agent</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-5d98c3a5 data-v-e315a0ad><div class="container" data-v-e315a0ad><p class="message" data-v-e315a0ad>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-e315a0ad>Copyright © 2022-present NezhaHQ</p></div></footer><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"en_us_guide_services.md\":\"BGzuU6OA\",\"case_case1.md\":\"CxIyM2UX\",\"en_us_developer_l10n.md\":\"dks2_bFg\",\"en_us_case_case2.md\":\"ObNTD0UD\",\"en_us_case_case3.md\":\"DfWfAjqn\",\"developer_theme.md\":\"C_vawN2K\",\"en_us_case_case4.md\":\"hAmykkcw\",\"en_us_developer_index.md\":\"De9r_QGA\",\"en_us_guide_loginq.md\":\"CBKeQeGE\",\"case_case4.md\":\"DmC3v1v8\",\"en_us_case_case5.md\":\"DG3wmF_T\",\"en_us_guide_q4.md\":\"CradbnsW\",\"en_us_guide_q6.md\":\"D_IShkBg\",\"en_us_guide_q7.md\":\"IipbbfIt\",\"en_us_guide_q5.md\":\"Bm7khg0J\",\"en_us_guide_q8.md\":\"BS4zRJ8D\",\"case_case3.md\":\"CyHkDMlM\",\"en_us_developer_theme.md\":\"DksnE2A9\",\"en_us_guide_q9.md\":\"CnlIJinu\",\"case_index.md\":\"CINawIFX\",\"developer_l10n.md\":\"DKsN_gh-\",\"en_us_case_index.md\":\"CnDHcSqC\",\"en_us_guide_agentq.md\":\"C2EY2ggE\",\"en_us_guide_dashboardq.md\":\"B1l3433B\",\"en_us_case_case1.md\":\"CmiF_3XB\",\"guide_loginq.md\":\"BO0IzWJR\",\"developer_index.md\":\"DXrILv0u\",\"en_us_index.md\":\"BMy73bUd\",\"case_case2.md\":\"DnLjHwNM\",\"guide_q1.md\":\"CtFlHlNP\",\"en_us_guide_settings.md\":\"CWJIb--C\",\"guide_agentq.md\":\"_kR06ypK\",\"guide_api.md\":\"BBy9dEKN\",\"guide_dashboard.md\":\"GNC4wQIY\",\"index.md\":\"M4Z4Ulp-\",\"en_us_guide_q3.md\":\"DJ2CyhXb\",\"guide_q2.md\":\"DanTPQlk\",\"guide_q3.md\":\"DaHLtJF3\",\"guide_q8.md\":\"CP9nIhHa\",\"en_us_guide_notifications.md\":\"B4JaqrER\",\"en_us_guide_servers.md\":\"aJfGzyfx\",\"guide_agent.md\":\"D043x_oC\",\"guide_notifications.md\":\"DNWdgyX-\",\"case_case5.md\":\"Dasce-io\",\"guide_settings.md\":\"DTz4LytC\",\"guide_services.md\":\"Bu7JsbmK\",\"en_us_guide_tasks.md\":\"puo6WlEl\",\"guide_tasks.md\":\"UZhFHygc\",\"guide_dashboardq.md\":\"CuE9rgCQ\",\"guide_q5.md\":\"Nn7eR9Hb\",\"guide_servers.md\":\"CP10iiI5\",\"en_us_guide_q2.md\":\"CceL_zs3\",\"en_us_guide_dashboard.md\":\"C3PUisXF\",\"guide_q4.md\":\"r0khZ57J\",\"en_us_guide_api.md\":\"C89dkQ53\",\"guide_q9.md\":\"D4fHV3cp\",\"guide_q6.md\":\"DNcjd0hc\",\"guide_q7.md\":\"DLFwZ2j0\",\"en_us_guide_agent.md\":\"dhjuO0_C\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"zh-CN\",\"dir\":\"ltr\",\"title\":\"VitePress\",\"description\":\"A VitePress site\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":{\"src\":\"/logo.png\",\"width\":24,\"height\":24},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/nezhahq/nezhahq.github.io\"},{\"icon\":{\"svg\":\"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 496 512\\\"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d=\\\"M248 8C111 8 0 119 0 256S111 504 248 504 496 393 496 256 385 8 248 8zM363 176.7c-3.7 39.2-19.9 134.4-28.1 178.3-3.5 18.6-10.3 24.8-16.9 25.4-14.4 1.3-25.3-9.5-39.3-18.7-21.8-14.3-34.2-23.2-55.3-37.2-24.5-16.1-8.6-25 5.3-39.5 3.7-3.8 67.1-61.5 68.3-66.7 .2-.7 .3-3.1-1.2-4.4s-3.6-.8-5.1-.5q-3.3 .7-104.6 69.1-14.8 10.2-26.9 9.9c-8.9-.2-25.9-5-38.6-9.1-15.5-5-27.9-7.7-26.8-16.3q.8-6.7 18.5-13.7 108.4-47.2 144.6-62.3c68.9-28.6 83.2-33.6 92.5-33.8 2.1 0 6.6 .5 9.6 2.9a10.5 10.5 0 0 1 3.5 6.7A43.8 43.8 0 0 1 363 176.7z\\\"/></svg>\"},\"link\":\"https://t.me/nezhanews\"}],\"search\":{\"provider\":\"algolia\",\"options\":{\"appId\":\"HP6QF6KMZD\",\"apiKey\":\"fb8bae9ed373d1057e0c07fcf32b3f1a\",\"indexName\":\"nezhahq\",\"locales\":{\"root\":{\"placeholder\":\"搜索文档\",\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"},\"modal\":{\"searchBox\":{\"resetButtonTitle\":\"清除查询条件\",\"resetButtonAriaLabel\":\"清除查询条件\",\"cancelButtonText\":\"取消\",\"cancelButtonAriaLabel\":\"取消\"},\"startScreen\":{\"recentSearchesTitle\":\"搜索历史\",\"noRecentSearchesText\":\"没有搜索历史\",\"saveRecentSearchButtonTitle\":\"保存至搜索历史\",\"removeRecentSearchButtonTitle\":\"从搜索历史中移除\",\"favoriteSearchesTitle\":\"收藏\",\"removeFavoriteSearchButtonTitle\":\"从收藏中移除\"},\"errorScreen\":{\"titleText\":\"无法获取结果\",\"helpText\":\"你可能需要检查你的网络连接\"},\"footer\":{\"selectText\":\"选择\",\"navigateText\":\"切换\",\"closeText\":\"关闭\",\"searchByText\":\"搜索提供者\"},\"noResultsScreen\":{\"noResultsText\":\"无法找到相关结果\",\"suggestedQueryText\":\"你可以尝试查询\",\"reportMissingResultsText\":\"你认为该查询应该有结果?\",\"reportMissingResultsLinkText\":\"点击反馈\"}}}}}}},\"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\":\"简体中文\",\"tLine truncated
</body>
</html>