deploy: a6502ce2e9
This commit is contained in:
1 parent
c013a83581
commit
c6a18f5476
187 files changed
+230
-230
No files matched your search
@@ -7,7 +7,7 @@
|
||||
<meta name="description" content="Nezha Monitoring is a lightweight O&M tool">
|
||||
<link rel="stylesheet" href="/assets/style.17a88c2e.css">
|
||||
<link rel="modulepreload" href="/assets/app.b8b795d4.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_dashboard.md.e2985fa7.lean.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_dashboard.md.c80da5ec.lean.js">
|
||||
|
||||
<meta name="twitter:title" content="Preparations | Nezha Monitoring">
|
||||
<meta property="og:title" content="Preparations | Nezha Monitoring">
|
||||
@@ -37,8 +37,8 @@ proxy /terminal/* http://ip:8008 {
|
||||
websocket
|
||||
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 "SSL" 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 "Homepage URL" and "Authorization callback URL" you filled in before from <code>http</code> to <code>https</code>, such as: "<a href="https://cdn.example.com" target="_blank" rel="noopener noreferrer">https://cdn.example.com</a>" and "<a href="https://cdn.example.com/oauth2/callback" target="_blank" rel="noopener noreferrer">https://cdn.example.com/oauth2/callback</a>", <strong>If you don'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><!----></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-38ede35f><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5Line truncated
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"f9282b0b\",\"case_case2.md\":\"3b855e4e\",\"case_index.md\":\"64127abc\",\"developer_index.md\":\"7268ccde\",\"developer_l10n.md\":\"97b97d7d\",\"developer_theme.md\":\"0c06d8b0\",\"en_us_case_case1.md\":\"68780b52\",\"en_us_case_case2.md\":\"f953289a\",\"en_us_case_index.md\":\"68810f8d\",\"en_us_developer_index.md\":\"37a8e91e\",\"en_us_developer_l10n.md\":\"83e8c80a\",\"en_us_developer_theme.md\":\"5757b985\",\"en_us_guide_agent.md\":\"5405ddd2\",\"en_us_guide_agentq.md\":\"72282f43\",\"en_us_guide_api.md\":\"60bbed30\",\"en_us_guide_dashboard.md\":\"e2985fa7\",\"en_us_guide_dashboardq.md\":\"edbd3c1e\",\"en_us_guide_loginq.md\":\"2b6c09f3\",\"en_us_guide_notifications.md\":\"a0726b4a\",\"en_us_guide_q2.md\":\"98c6bd85\",\"en_us_guide_q3.md\":\"893484b0\",\"en_us_guide_q4.md\":\"9b886900\",\"en_us_guide_q5.md\":\"8c546c01\",\"en_us_guide_q6.md\":\"cd17d9ac\",\"en_us_guide_servers.md\":\"4fea2a34\",\"en_us_guide_services.md\":\"ec8d9efe\",\"en_us_guide_settings.md\":\"9f49534a\",\"en_us_guide_tasks.md\":\"e5594de7\",\"en_us_index.md\":\"89054818\",\"guide_agent.md\":\"0b4fec77\",\"guide_agentq.md\":\"911d18a3\",\"guide_api.md\":\"b1e688a9\",\"guide_dashboard.md\":\"a0bff127\",\"guide_dashboardq.md\":\"5b7452b0\",\"guide_loginq.md\":\"d743017e\",\"guide_notifications.md\":\"d7a51871\",\"guide_q1.md\":\"cff28fdf\",\"guide_q2.md\":\"d06fff72\",\"guide_q3.md\":\"35cecec8\",\"guide_q4.md\":\"716d7fb8\",\"guide_q5.md\":\"183e02fc\",\"guide_q6.md\":\"6d3afc8d\",\"guide_servers.md\":\"60d94629\",\"guide_services.md\":\"9d7f9498\",\"guide_settings.md\":\"ebd77a3c\",\"guide_tasks.md\":\"01280820\",\"index.md\":\"f0b08365\"}")</script>
|
||||
</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 "SSL" 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 "Homepage URL" and "Authorization callback URL" you filled in before from <code>http</code> to <code>https</code>, such as: "<a href="https://cdn.example.com" target="_blank" rel="noopener noreferrer">https://cdn.example.com</a>" and "<a href="https://cdn.example.com/oauth2/callback" target="_blank" rel="noopener noreferrer">https://cdn.example.com/oauth2/callback</a>", <strong>If you don'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\":\"73d84861\",\"case_case2.md\":\"7fe67fb8\",\"case_index.md\":\"5bf10614\",\"developer_index.md\":\"bc9cea1b\",\"developer_l10n.md\":\"e1ddcc11\",\"developer_theme.md\":\"04f39375\",\"en_us_case_case1.md\":\"0f5ecb17\",\"en_us_case_case2.md\":\"38eec965\",\"en_us_case_index.md\":\"454303ba\",\"en_us_developer_index.md\":\"4c4aa9fb\",\"en_us_developer_l10n.md\":\"1183d618\",\"en_us_developer_theme.md\":\"8a87affd\",\"en_us_guide_agent.md\":\"f7046dfa\",\"en_us_guide_agentq.md\":\"1c873a7e\",\"en_us_guide_api.md\":\"c76583dc\",\"en_us_guide_dashboard.md\":\"c80da5ec\",\"en_us_guide_dashboardq.md\":\"cf50df27\",\"en_us_guide_loginq.md\":\"e7e28b1e\",\"en_us_guide_notifications.md\":\"167d5c6d\",\"en_us_guide_q2.md\":\"9a5d663d\",\"en_us_guide_q3.md\":\"dba32492\",\"en_us_guide_q4.md\":\"64d5bd6c\",\"en_us_guide_q5.md\":\"9961abfb\",\"en_us_guide_q6.md\":\"f4463c48\",\"en_us_guide_servers.md\":\"6a951300\",\"en_us_guide_services.md\":\"d66a75a1\",\"en_us_guide_settings.md\":\"f36fb141\",\"en_us_guide_tasks.md\":\"cf2a3d1a\",\"en_us_index.md\":\"a4e0d4ea\",\"guide_agent.md\":\"42f8fcd9\",\"guide_agentq.md\":\"908e588e\",\"guide_api.md\":\"9c115583\",\"guide_dashboard.md\":\"1efabb94\",\"guide_dashboardq.md\":\"31abfb34\",\"guide_loginq.md\":\"50000451\",\"guide_notifications.md\":\"b04711e1\",\"guide_q1.md\":\"12634adb\",\"guide_q2.md\":\"38196489\",\"guide_q3.md\":\"76a1d7fa\",\"guide_q4.md\":\"74bafedf\",\"guide_q5.md\":\"db9cfb2b\",\"guide_q6.md\":\"fc09e21e\",\"guide_servers.md\":\"3c8a2810\",\"guide_services.md\":\"0878163d\",\"guide_settings.md\":\"88f7c230\",\"guide_tasks.md\":\"d03f09b6\",\"index.md\":\"020020ec\"}")</script>
|
||||
<script type="module" async src="/assets/app.b8b795d4.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user