This commit is contained in:
naiba committed 2022-10-24 06:03:19 +00:00
1 parent 670ad9b747
commit e027cd5e7b
161 files changed
+215 -215

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.e3095d59.js">
<link rel="modulepreload" href="/assets/app.31af427a.js">
<link rel="modulepreload" href="/assets/en_US_guide_dashboard.md.ba01bfa7.lean.js">
<link rel="modulepreload" href="/assets/en_US_guide_dashboard.md.1194efb9.lean.js">
<meta name="twitter:title" content="Preparations | Nezha Monitoring">
<meta property="og:title" content="Preparations | Nezha Monitoring">
@@ -38,7 +38,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="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="last-updated" data-v-07c132fc data-v-abce3432><span class="prefix" data-v-abce3432>Last Updated:</span><span class="datetime" data-v-abce3432></span></p></div></footer><div class="next-and-prev-link" data-v-7eddb2c4 data-v-38ede35f><div class="container" data-v-38ede35f><div class="prev" data-v-38ede35f><!----></div><div class="next" data-v-38ede35f><a class="link" href="/en_US/guide/agent" data-v-38ede35f><span class="text" data-v-38ede35f>Install Agent</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-38eLine truncated
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"4f3e051a\",\"case_case2.md\":\"f854dbb5\",\"case_case3.md\":\"c9843273\",\"case_case4.md\":\"b5a34a77\",\"case_index.md\":\"de44229f\",\"developer_index.md\":\"7efedba3\",\"developer_l10n.md\":\"e09c1988\",\"developer_theme.md\":\"b22cce48\",\"en_us_case_case1.md\":\"e7839f27\",\"en_us_case_case2.md\":\"1838eb16\",\"en_us_case_case3.md\":\"3df9d198\",\"en_us_case_case4.md\":\"d41c29fe\",\"en_us_case_index.md\":\"db2e0dc6\",\"en_us_developer_index.md\":\"a0f6b46a\",\"en_us_developer_l10n.md\":\"50dbc99c\",\"en_us_developer_theme.md\":\"d74f7eef\",\"en_us_guide_agent.md\":\"7d1fc7b5\",\"en_us_guide_agentq.md\":\"04a28347\",\"en_us_guide_api.md\":\"024bc727\",\"en_us_guide_dashboard.md\":\"ba01bfa7\",\"en_us_guide_dashboardq.md\":\"a51f5d7b\",\"en_us_guide_loginq.md\":\"38369d5a\",\"en_us_guide_notifications.md\":\"8a009562\",\"en_us_guide_q2.md\":\"9bc2d94c\",\"en_us_guide_q3.md\":\"3d62b18a\",\"en_us_guide_q4.md\":\"c07039a3\",\"en_us_guide_q5.md\":\"c4e90475\",\"en_us_guide_q6.md\":\"840ba50d\",\"en_us_guide_q7.md\":\"04e2d52f\",\"en_us_guide_servers.md\":\"3f91db3f\",\"en_us_guide_services.md\":\"138271f2\",\"en_us_guide_settings.md\":\"c69552f4\",\"en_us_guide_tasks.md\":\"5dbc3527\",\"en_us_index.md\":\"63f3c360\",\"guide_agent.md\":\"bb8ceebe\",\"guide_agentq.md\":\"b31d6e40\",\"guide_api.md\":\"11bf4cff\",\"guide_dashboard.md\":\"a5a64e68\",\"guide_dashboardq.md\":\"43019c27\",\"guide_loginq.md\":\"6157de24\",\"guide_notifications.md\":\"f2a1eb4b\",\"guide_q1.md\":\"2c67938b\",\"guide_q2.md\":\"f72eb3c4\",\"guide_q3.md\":\"659daf29\",\"guide_q4.md\":\"63369958\",\"guide_q5.md\":\"e5ad955e\",\"guide_q6.md\":\"70a2b145\",\"guide_q7.md\":\"b7dd0729\",\"guide_servers.md\":\"d93e763e\",\"guide_services.md\":\"9b34b979\",\"guide_settings.md\":\"7dea967c\",\"guide_tasks.md\":\"7007ed7e\",\"index.md\":\"eae7fbd5\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"325b742b\",\"case_case2.md\":\"f6d58436\",\"case_case3.md\":\"3d72ed6c\",\"case_case4.md\":\"37344ec2\",\"case_index.md\":\"660d5043\",\"developer_index.md\":\"91d20f33\",\"developer_l10n.md\":\"a031bc63\",\"developer_theme.md\":\"219be37f\",\"en_us_case_case1.md\":\"80ba6a6c\",\"en_us_case_case2.md\":\"7cff041b\",\"en_us_case_case3.md\":\"f2f3af0a\",\"en_us_case_case4.md\":\"53e8c093\",\"en_us_case_index.md\":\"416b21e6\",\"en_us_developer_index.md\":\"9225a2fc\",\"en_us_developer_l10n.md\":\"8d667a9e\",\"en_us_developer_theme.md\":\"ed8299a8\",\"en_us_guide_agent.md\":\"f4af2d88\",\"en_us_guide_agentq.md\":\"7fb4d341\",\"en_us_guide_api.md\":\"659c5873\",\"en_us_guide_dashboard.md\":\"1194efb9\",\"en_us_guide_dashboardq.md\":\"216acd20\",\"en_us_guide_loginq.md\":\"317f6a5f\",\"en_us_guide_notifications.md\":\"b07c545f\",\"en_us_guide_q2.md\":\"d8f3bf88\",\"en_us_guide_q3.md\":\"68bffbbf\",\"en_us_guide_q4.md\":\"b6a05f00\",\"en_us_guide_q5.md\":\"d08a5506\",\"en_us_guide_q6.md\":\"b928db30\",\"en_us_guide_q7.md\":\"9e0cafa5\",\"en_us_guide_servers.md\":\"dc1ba670\",\"en_us_guide_services.md\":\"703aeb7e\",\"en_us_guide_settings.md\":\"25cf2b83\",\"en_us_guide_tasks.md\":\"45ff15b6\",\"en_us_index.md\":\"56d3a9eb\",\"guide_agent.md\":\"dfbab6e1\",\"guide_agentq.md\":\"5d03740f\",\"guide_api.md\":\"70eb5e99\",\"guide_dashboard.md\":\"88145f0c\",\"guide_dashboardq.md\":\"05741af4\",\"guide_loginq.md\":\"3282de94\",\"guide_notifications.md\":\"db25a9e0\",\"guide_q1.md\":\"cd01f788\",\"guide_q2.md\":\"a665c2aa\",\"guide_q3.md\":\"8598af3c\",\"guide_q4.md\":\"ec32647d\",\"guide_q5.md\":\"07bd21b5\",\"guide_q6.md\":\"d1030de3\",\"guide_q7.md\":\"663794f4\",\"guide_servers.md\":\"818af0c7\",\"guide_services.md\":\"a2f5b37d\",\"guide_settings.md\":\"d5fdafd3\",\"guide_tasks.md\":\"0de83b91\",\"index.md\":\"d299c03e\"}")</script>
<script type="module" async src="/assets/app.31af427a.js"></script>
</body>