deploy: 75a0107dda
This commit is contained in:
1 parent
a8998a141a
commit
cb2ed84758
179 files changed
+293
-293
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.DAaY-8e0.js">
|
||||
<link rel="modulepreload" href="/assets/guide_dashboard.md.BCa2-Nwo.lean.js">
|
||||
<link rel="modulepreload" href="/assets/guide_dashboard.md.DyIvyagF.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>
|
||||
@@ -41,8 +41,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-06-27T13:17:13.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_loginq.md\":\"DlZgRB48\",\"en_us_guide_q9.md\":\"BchHyQQn\",\"guide_q7.md\":\"Yg4CPFiM\",\"developer_theme.md\":\"bzCGqwpF\",\"en_us_case_case2.md\":\"ChxjNJXx\",\"guide_q9.md\":\"BS56IG1V\",\"en_us_case_case1.md\":\"Bqod3rgC\",\"guide_notifications.md\":\"BtTx-ky2\",\"en_us_case_case4.md\":\"BNkjhbrk\",\"en_us_case_case3.md\":\"DJxUeNtc\",\"en_us_guide_q4.md\":\"Cb1hRym5\",\"en_us_case_case5.md\":\"svss2CjZ\",\"en_us_developer_l10n.md\":\"Dbc9s40f\",\"en_us_guide_dashboard.md\":\"DoMzBFj5\",\"en_us_guide_dashboardq.md\":\"VZlUIC7T\",\"case_case2.md\":\"BkflG1_b\",\"en_us_guide_agent.md\":\"D4gvFyzi\",\"case_case1.md\":\"C4NDYc95\",\"en_us_guide_q3.md\":\"DIKDQinI\",\"en_us_guide_notifications.md\":\"BDfSbpoZ\",\"en_us_guide_servers.md\":\"CLP5YweY\",\"guide_tasks.md\":\"B3T6qFUo\",\"case_index.md\":\"CvgWmS2K\",\"index.md\":\"89q1_a2K\",\"developer_l10n.md\":\"Nwj9cwPP\",\"case_case4.md\":\"w16SsW5U\",\"guide_services.md\":\"Bps7wdp9\",\"guide_api.md\":\"DGyp18dr\",\"guide_agentq.md\":\"djc2X9jJ\",\"guide_dashboardq.md\":\"BDAPzuiZ\",\"developer_index.md\":\"BsN0-td-\",\"en_us_case_index.md\":\"BnXsKypm\",\"en_us_guide_services.md\":\"D-Y9jUKL\",\"en_us_index.md\":\"8kW7GQXt\",\"en_us_developer_theme.md\":\"BUpcJAT3\",\"en_us_guide_q6.md\":\"DfHpqsdb\",\"en_us_guide_q5.md\":\"BTfvqkfp\",\"guide_q3.md\":\"DwCNNZFi\",\"guide_q4.md\":\"CxFr4HrP\",\"en_us_guide_q7.md\":\"CCRrDlAi\",\"case_case3.md\":\"NmG5Vnml\",\"case_case5.md\":\"DfVgfrtQ\",\"en_us_guide_q2.md\":\"DYfaa8jp\",\"guide_loginq.md\":\"BMrEVEM6\",\"guide_dashboard.md\":\"BCa2-Nwo\",\"en_us_guide_settings.md\":\"D6Kd8EuO\",\"guide_q2.md\":\"D9OwD6Lw\",\"guide_q5.md\":\"CFuiMdtI\",\"guide_servers.md\":\"DcCxbmtQ\",\"en_us_guide_tasks.md\":\"DnQ82wAt\",\"en_us_guide_agentq.md\":\"DbWzVcUx\",\"guide_q6.md\":\"BAnFCQ9W\",\"guide_agent.md\":\"BGJO1yl9\",\"en_us_guide_q8.md\":\"BxZy78WI\",\"guide_q1.md\":\"BwLveNpj\",\"en_us_guide_api.md\":\"DmcGr_5z\",\"en_us_developer_index.md\":\"KWR6b-AD\",\"guide_settings.md\":\"BZa8WL_Z\",\"guide_q8.md\":\"-Ccrbv_Z\"}");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\"}],\"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\":\"简体中文\",\"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/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-07-04T06:32:14.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_case4.md\":\"BPox-BW-\",\"case_case2.md\":\"Byh7upMv\",\"case_case5.md\":\"QFg0ZUMe\",\"en_us_case_case1.md\":\"zOkAEj2w\",\"en_us_guide_agentq.md\":\"BK_Wim0q\",\"en_us_case_index.md\":\"DJAA6unR\",\"en_us_case_case2.md\":\"DCwBsHCB\",\"en_us_case_case4.md\":\"CP1kc337\",\"guide_q6.md\":\"DWJuaK9N\",\"en_us_case_case3.md\":\"Cau8wuNe\",\"guide_q7.md\":\"DrpLSs9d\",\"guide_q9.md\":\"COenyYRz\",\"guide_services.md\":\"D_1NcXX_\",\"guide_q3.md\":\"lwUPxINO\",\"guide_servers.md\":\"C7jJePPb\",\"guide_q8.md\":\"CECyaBgu\",\"case_case3.md\":\"DwtJuBfZ\",\"guide_tasks.md\":\"BPEKthk1\",\"developer_index.md\":\"InFj0y0q\",\"en_us_guide_q9.md\":\"-xZaGhlb\",\"en_us_developer_l10n.md\":\"D_gp7_eq\",\"en_us_developer_theme.md\":\"qAmICLSO\",\"en_us_guide_q4.md\":\"CeZa8dmh\",\"en_us_guide_q5.md\":\"acljnk0j\",\"en_us_guide_q6.md\":\"ChulfXQH\",\"en_us_guide_q3.md\":\"BL3-a-zA\",\"en_us_guide_agent.md\":\"DRBhoGsO\",\"en_us_guide_q7.md\":\"Dzxje_r7\",\"en_us_guide_q8.md\":\"BkZsLizb\",\"en_us_guide_q2.md\":\"Dv0kGUV6\",\"en_us_guide_servers.md\":\"CBjT1cyg\",\"guide_loginq.md\":\"DY2jyJ21\",\"en_us_guide_api.md\":\"C65L7UGP\",\"en_us_guide_services.md\":\"DkHTjSu2\",\"guide_notifications.md\":\"ZbA8ihwd\",\"en_us_index.md\":\"CkY7PRYF\",\"guide_q2.md\":\"BxuinfUR\",\"en_us_guide_dashboardq.md\":\"BWjY7ZA-\",\"en_us_guide_loginq.md\":\"DCPmVIAb\",\"guide_q1.md\":\"DqVZrLyd\",\"guide_agentq.md\":\"Cs1Fo9Cu\",\"developer_theme.md\":\"stm8Cmho\",\"developer_l10n.md\":\"Dn-yI-qO\",\"index.md\":\"CMtLXFvv\",\"guide_dashboard.md\":\"DyIvyagF\",\"en_us_guide_notifications.md\":\"fXHReBpj\",\"en_us_guide_dashboard.md\":\"8wo5kiAD\",\"case_index.md\":\"D4ur0WOB\",\"guide_settings.md\":\"jrz-1kcM\",\"en_us_guide_tasks.md\":\"DD3MX3sV\",\"case_case1.md\":\"CUk6_dLs\",\"guide_agent.md\":\"DV2pJO54\",\"guide_q4.md\":\"CVcJJd-b\",\"en_us_developer_index.md\":\"Cm-2He32\",\"guide_q5.md\":\"BTvul1cT\",\"guide_api.md\":\"DznpIfBr\",\"en_us_guide_settings.md\":\"ZyVgC2OW\",\"en_us_case_case5.md\":\"lrZyNuC9\",\"guide_dashboardq.md\":\"D469j-_w\"}");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\"}],\"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\":\"简体中文\",\"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/Line truncated
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user