deploy: 1111f53c1f
This commit is contained in:
1 parent
dafa897a33
commit
34ca0efce4
210 files changed
+357
-357
No files matched your search
@@ -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.9e7-i4q2.lean.js">
|
||||
<link rel="modulepreload" href="/assets/guide_dashboard.md.DjvOD4P6.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 "在宝塔面板中配置 SSL""></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> ,编辑之前创建的验证应用程序,将之前我们填入的 "Homepage URL" 和 "Authorization callback URL" 中的域名全部从 <code>http</code> 改为 <code>https</code>,如:"<a href="https://dashboard.example.com" target="_blank" rel="noreferrer">https://dashboard.example.com</a>" 和 "<a href="https://dashboard.example.com/oauth2/callback" target="_blank" rel="noreferrer">https://dashboard.example.com/oauth2/callback</a>" ,<strong>不更改此项可能会导致你无法登录面板后台</strong>。</p><h2 id="更新-dashboard" tabindex="-1">更新 Dashboard <a class="header-anchor" href="#更新-dashboard" aria-label="Permalink to "更新 Dashboard""></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-08-22T07:45:55.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_q2.md\":\"sqFVglb5\",\"en_us_guide_q4.md\":\"DgrdSUOA\",\"case_case2.md\":\"DJCjOonP\",\"developer_index.md\":\"C9G11txR\",\"en_us_guide_q11.md\":\"BqG7C0zv\",\"guide_dashboard.md\":\"9e7-i4q2\",\"guide_q2.md\":\"BrI7LvcI\",\"guide_q1.md\":\"CjaAnjzc\",\"guide_q9.md\":\"CHKYCKCL\",\"en_us_guide_api.md\":\"BOcucPHY\",\"en_us_developer_index.md\":\"psuqbzrl\",\"guide_agentq.md\":\"-2w4DxFK\",\"case_case1.md\":\"DyZkO2P0\",\"en_us_guide_loginq.md\":\"NUiL2A0V\",\"en_us_guide_q9.md\":\"D12x_y1H\",\"case_case4.md\":\"D46ScH1N\",\"case_case5.md\":\"CabnumE9\",\"case_case6.md\":\"BiAx8V_Y\",\"en_us_case_index.md\":\"D94ufapw\",\"guide_q6.md\":\"CAa76mdk\",\"guide_api.md\":\"JSI1zfqB\",\"en_us_guide_services.md\":\"nzW-jNTQ\",\"en_us_guide_dashboard.md\":\"DMnxb47j\",\"en_us_guide_dashboardq.md\":\"Ckin-oxA\",\"guide_servers.md\":\"CtYYh-Od\",\"guide_q8.md\":\"DhxrbaK2\",\"guide_q7.md\":\"CbAh8mE8\",\"guide_q11.md\":\"NCma0IWK\",\"guide_tasks.md\":\"D3GoB2Xx\",\"index.md\":\"BLBikwgo\",\"guide_q10.md\":\"CRAu4Kd_\",\"guide_dashboardq.md\":\"DuD4uUX6\",\"guide_nat.md\":\"qghX7NR7\",\"guide_notifications.md\":\"B-S05V1b\",\"guide_agent.md\":\"CfLKKhFq\",\"guide_q5.md\":\"ComDQ0Af\",\"en_us_guide_q5.md\":\"DnLgXhAg\",\"en_us_guide_nat.md\":\"IzV0ByO0\",\"en_us_guide_q8.md\":\"CjMhoBnU\",\"en_us_guide_q10.md\":\"BJpsfqZG\",\"en_us_guide_q3.md\":\"CGNa5c_x\",\"en_us_developer_theme.md\":\"yZu0qgNX\",\"guide_services.md\":\"DF7IQiqh\",\"guide_loginq.md\":\"B4IINIEx\",\"en_us_case_case5.md\":\"Cpus9Gkc\",\"guide_settings.md\":\"DbGYe0_Z\",\"en_us_case_case7.md\":\"B9kYUw6W\",\"developer_l10n.md\":\"C3BU4zUg\",\"en_us_case_case3.md\":\"D1b1n8Eg\",\"en_us_guide_servers.md\":\"PYMy0xWN\",\"en_us_case_case2.md\":\"glR9ALA8\",\"en_us_case_case1.md\":\"CV8GiV_p\",\"case_case3.md\":\"Bpln4faB\",\"developer_theme.md\":\"D3Zm_MuD\",\"case_case7.md\":\"BcBMiDxj\",\"en_us_case_case6.md\":\"BV6VWlDo\",\"case_index.md\":\"B9B-PUxl\",\"en_us_index.md\":\"DZfu5eRM\",\"en_us_guide_tasks.md\":\"CpXAwNoz\",\"en_us_developer_l10n.md\":\"DikNChrK\",\"en_us_case_case4.md\":\"C8X6aBq2\",\"en_us_guide_settings.md\":\"vNtTfZDO\",\"guide_q4.md\":\"CGnlQYyC\",\"en_us_guide_q7.md\":\"BqSYEoVN\",\"en_us_guide_notifications.md\":\"CIR-dpM8\",\"en_us_guide_agentq.md\":\"B4bPJD_Y\",\"guide_q3.md\":\"BFoARpSS\",\"en_us_guide_q6.md\":\"CBxsxGAu\",\"en_us_guide_agent.md\":\"73mSu1D_\"}");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,\"alt\":\"NezhaLogo\"},\"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\":{Line 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 "在宝塔面板中配置 SSL""></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> ,编辑之前创建的验证应用程序,将之前我们填入的 "Homepage URL" 和 "Authorization callback URL" 中的域名全部从 <code>http</code> 改为 <code>https</code>,如:"<a href="https://dashboard.example.com" target="_blank" rel="noreferrer">https://dashboard.example.com</a>" 和 "<a href="https://dashboard.example.com/oauth2/callback" target="_blank" rel="noreferrer">https://dashboard.example.com/oauth2/callback</a>" ,<strong>不更改此项可能会导致你无法登录面板后台</strong>。</p><h2 id="更新-dashboard" tabindex="-1">更新 Dashboard <a class="header-anchor" href="#更新-dashboard" aria-label="Permalink to "更新 Dashboard""></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-08-24T16:39:02.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_index.md\":\"Bc1PScA4\",\"en_us_case_case1.md\":\"D1uaWoWv\",\"en_us_developer_l10n.md\":\"BSUR6V8B\",\"guide_loginq.md\":\"BSv-7-Y8\",\"guide_q11.md\":\"C7MkDI9Q\",\"case_case1.md\":\"DgmEvgV2\",\"case_case2.md\":\"pNz4mSeL\",\"en_us_guide_loginq.md\":\"DvdKZ2id\",\"case_case7.md\":\"KQqEaRKh\",\"en_us_developer_theme.md\":\"LD1OZwL6\",\"en_us_guide_agentq.md\":\"bMOmPnzZ\",\"developer_l10n.md\":\"ll7meLyU\",\"en_us_case_case2.md\":\"mf5Q_4cc\",\"case_case3.md\":\"BYgeUGkz\",\"developer_index.md\":\"7jbK7qU_\",\"en_us_case_case7.md\":\"CTswqz8K\",\"en_us_guide_api.md\":\"kut8rc1d\",\"en_us_guide_agent.md\":\"B-Ls70Tf\",\"en_us_developer_index.md\":\"B48Tw2nI\",\"case_case4.md\":\"DPak3j0X\",\"en_us_case_index.md\":\"f_mjFBAH\",\"en_us_guide_notifications.md\":\"CKMBhfUG\",\"case_case5.md\":\"IyLJYFSH\",\"en_us_case_case6.md\":\"BUuznyu1\",\"guide_q7.md\":\"CKnFnNRh\",\"guide_q8.md\":\"rCDow6Ia\",\"guide_q9.md\":\"z2LK6SpP\",\"guide_services.md\":\"DgWivvnp\",\"guide_servers.md\":\"B36DJFol\",\"guide_tasks.md\":\"dFtMrU3Z\",\"guide_dashboard.md\":\"DjvOD4P6\",\"guide_q4.md\":\"CrHWAuA-\",\"en_us_guide_q5.md\":\"CaZwn14r\",\"guide_q5.md\":\"C3__j9GV\",\"en_us_guide_q9.md\":\"D6AHfdrF\",\"index.md\":\"56-3UQ7z\",\"guide_q3.md\":\"Lw8o7CqS\",\"guide_dashboardq.md\":\"Cglwpa0w\",\"en_us_guide_servers.md\":\"C7eZsOkl\",\"en_us_guide_q7.md\":\"D0-i7b-D\",\"guide_settings.md\":\"DuISs0eY\",\"en_us_guide_q6.md\":\"C7Yl3BxY\",\"en_us_guide_q8.md\":\"B8F4pvqx\",\"guide_q1.md\":\"BpjtcxS1\",\"en_us_guide_dashboard.md\":\"DAAPzywp\",\"guide_q6.md\":\"BpOnOF6x\",\"en_us_guide_q11.md\":\"CKTjp5zY\",\"developer_theme.md\":\"C0lQxh9H\",\"en_us_case_case4.md\":\"BcMlwQ9Z\",\"en_us_index.md\":\"BWALXKQc\",\"en_us_guide_services.md\":\"yBQcqo6-\",\"en_us_case_case5.md\":\"XCKELT9K\",\"case_case6.md\":\"Cjx1ShFh\",\"en_us_case_case3.md\":\"CZcaJWU4\",\"en_us_guide_q10.md\":\"vNDn4oi1\",\"en_us_guide_nat.md\":\"CbovJ2wr\",\"en_us_guide_dashboardq.md\":\"Bz8PElnP\",\"en_us_guide_q2.md\":\"kqIm0Ag8\",\"en_us_guide_q4.md\":\"DyXnPTnv\",\"guide_agentq.md\":\"jnbAajcq\",\"guide_notifications.md\":\"Bu7Sd77M\",\"guide_q10.md\":\"CaOEdaUf\",\"guide_q2.md\":\"C7lbhE2z\",\"en_us_guide_settings.md\":\"DLFW3OX9\",\"en_us_guide_q3.md\":\"BvkD1IMK\",\"en_us_guide_tasks.md\":\"olco4zUs\",\"guide_nat.md\":\"B0Tot-UZ\",\"guide_api.md\":\"CGF6PFIN\",\"guide_agent.md\":\"DELPkken\"}");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,\"alt\":\"NezhaLogo\"},\"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\":{Line truncated
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user