This commit is contained in:
dysf888 committed 2023-04-09 07:50:00 +00:00
1 parent d0154611df
commit 011419a9ee
166 files changed
+219 -219

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="/assets/style.0b9f658b.css">
<link rel="modulepreload" href="/assets/chunks/AlgoliaSearchBox.98396bc7.js">
<link rel="modulepreload" href="/assets/app.3817bf4e.js">
<link rel="modulepreload" href="/assets/en_US_guide_dashboard.md.cbd6aacb.lean.js">
<link rel="modulepreload" href="/assets/en_US_guide_dashboard.md.4ad196f0.lean.js">
<meta name="twitter:title" content="Preparations | Nezha Monitoring">
<meta property="og:title" content="Preparations | Nezha Monitoring">
@@ -39,7 +39,7 @@ proxy /terminal/* http://ip:8008 {
header_upstream -Origin
}
</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-hidden="true">#</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 &quot;SSL&quot; 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="noopener noreferrer">https://github.com/settings/developers</a> and edit the authentication application you created before, change all the domain names in the &quot;Homepage URL&quot; and &quot;Authorization callback URL&quot; you filled in before from <code>http</code> to <code>https</code>, such as: &quot;<a href="https://cdn.example.com" target="_blank" rel="noopener noreferrer">https://cdn.example.com</a>&quot; and &quot;<a href="https://cdn.example.com/oauth2/callback" target="_blank" rel="noopener noreferrer">https://cdn.example.com/oauth2/callback</a>&quot;, <strong>If you don&#39;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-hidden="true">#</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-hidden="true">#</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-hidden="true">#</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">WARNING</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-hidden="true">#</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-hidden="true">#</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-hidden="true">#</a></h3><p>Run the script <code>. /nezha.sh</code> and select restart Dashboard and update</p></div></div><footer class="page-footer" data-v-7eddb2c4 data-v-07c132fc><div class="edit" data-v-07c132fc><div class="edit-link" data-v-07c132fc data-v-1ed99556><a class="link" href="https://github.com/nezhahq/nezhahq.github.io/edit/main/docs/en_US/guide/dashboard.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>Edit this page on GitHub <svg class="icon outbound icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-1ed99556><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div></div><div class="updated" data-v-07c132fc><p class="lasLine truncated
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"afa7f062\",\"case_case2.md\":\"54bdea86\",\"case_case3.md\":\"8c582072\",\"case_case4.md\":\"0a5f4467\",\"case_index.md\":\"c266a968\",\"developer_index.md\":\"8c39eab6\",\"developer_l10n.md\":\"3b866892\",\"developer_theme.md\":\"a36af5b8\",\"en_us_case_case1.md\":\"738141b2\",\"en_us_case_case2.md\":\"3fbd71b0\",\"en_us_case_case3.md\":\"bce4ebeb\",\"en_us_case_case4.md\":\"e65a7d04\",\"en_us_case_index.md\":\"6f87b03a\",\"en_us_developer_index.md\":\"c584be7f\",\"en_us_developer_l10n.md\":\"61bec938\",\"en_us_developer_theme.md\":\"4a9f6ab4\",\"en_us_guide_agent.md\":\"ee30a6ab\",\"en_us_guide_agentq.md\":\"433b1016\",\"en_us_guide_api.md\":\"55603ad5\",\"en_us_guide_dashboard.md\":\"cbd6aacb\",\"en_us_guide_dashboardq.md\":\"dabd8553\",\"en_us_guide_loginq.md\":\"3895584a\",\"en_us_guide_notifications.md\":\"8baa7836\",\"en_us_guide_q2.md\":\"a5e8c1f5\",\"en_us_guide_q3.md\":\"01c23df6\",\"en_us_guide_q4.md\":\"cf0b7a02\",\"en_us_guide_q5.md\":\"b76959da\",\"en_us_guide_q6.md\":\"41eac67b\",\"en_us_guide_q7.md\":\"037fca62\",\"en_us_guide_servers.md\":\"d1951d87\",\"en_us_guide_services.md\":\"b17b571d\",\"en_us_guide_settings.md\":\"b9f5a2d3\",\"en_us_guide_tasks.md\":\"c71cbef8\",\"en_us_index.md\":\"d655f9a8\",\"guide_agent.md\":\"150b060c\",\"guide_agentq.md\":\"a02ae62d\",\"guide_api.md\":\"f7805e2d\",\"guide_dashboard.md\":\"b0655074\",\"guide_dashboardq.md\":\"9d24a71e\",\"guide_loginq.md\":\"c7e6a728\",\"guide_notifications.md\":\"9e48363f\",\"guide_q1.md\":\"0a3f8afc\",\"guide_q2.md\":\"53bcff3c\",\"guide_q3.md\":\"3576d37e\",\"guide_q4.md\":\"9789deaf\",\"guide_q5.md\":\"a1a0a23c\",\"guide_q6.md\":\"065aeb75\",\"guide_q7.md\":\"47f2974d\",\"guide_servers.md\":\"f78c5525\",\"guide_services.md\":\"898798e7\",\"guide_settings.md\":\"cf30edff\",\"guide_tasks.md\":\"8bb30071\",\"index.md\":\"5e4bfbef\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"bb4a428c\",\"case_case2.md\":\"3cf56c4d\",\"case_case3.md\":\"70c0a6a5\",\"case_case4.md\":\"445f551c\",\"case_index.md\":\"185a0524\",\"developer_index.md\":\"f8a1a0ec\",\"developer_l10n.md\":\"3b2ef267\",\"developer_theme.md\":\"d3f1c218\",\"en_us_case_case1.md\":\"99cd4f4f\",\"en_us_case_case2.md\":\"51f633c1\",\"en_us_case_case3.md\":\"782bfd51\",\"en_us_case_case4.md\":\"207aafc1\",\"en_us_case_index.md\":\"be029dac\",\"en_us_developer_index.md\":\"91f46408\",\"en_us_developer_l10n.md\":\"5a4d34af\",\"en_us_developer_theme.md\":\"dbff9c27\",\"en_us_guide_agent.md\":\"d3112ce4\",\"en_us_guide_agentq.md\":\"5cb72347\",\"en_us_guide_api.md\":\"5d9f6408\",\"en_us_guide_dashboard.md\":\"4ad196f0\",\"en_us_guide_dashboardq.md\":\"ba23b9bd\",\"en_us_guide_loginq.md\":\"18fa65ac\",\"en_us_guide_notifications.md\":\"38c3108a\",\"en_us_guide_q2.md\":\"7a9041b4\",\"en_us_guide_q3.md\":\"79169935\",\"en_us_guide_q4.md\":\"8cbc55af\",\"en_us_guide_q5.md\":\"4ef1f642\",\"en_us_guide_q6.md\":\"3188fa5d\",\"en_us_guide_q7.md\":\"df773917\",\"en_us_guide_servers.md\":\"86631cfc\",\"en_us_guide_services.md\":\"0b2735c5\",\"en_us_guide_settings.md\":\"6bae2d67\",\"en_us_guide_tasks.md\":\"99cd12e1\",\"en_us_index.md\":\"9a861ce5\",\"guide_agent.md\":\"d0f22c88\",\"guide_agentq.md\":\"1101fd10\",\"guide_api.md\":\"92319056\",\"guide_dashboard.md\":\"0569080c\",\"guide_dashboardq.md\":\"61e04fcd\",\"guide_loginq.md\":\"6646f83a\",\"guide_notifications.md\":\"704bcb6a\",\"guide_q1.md\":\"3cb73fa3\",\"guide_q2.md\":\"fa638989\",\"guide_q3.md\":\"439c5b36\",\"guide_q4.md\":\"f572abef\",\"guide_q5.md\":\"502c4153\",\"guide_q6.md\":\"feb76c40\",\"guide_q7.md\":\"8ffd6348\",\"guide_servers.md\":\"f78eb869\",\"guide_services.md\":\"3bc28e6a\",\"guide_settings.md\":\"466421e8\",\"guide_tasks.md\":\"80852d65\",\"index.md\":\"60a32a4a\"}")</script>
<script type="module" async src="/assets/app.3817bf4e.js"></script>
</body>