deploy: 690ef0e7779ec46abf699108ec4dbaf6d607d3ba
This commit is contained in:
parent
4c29abcdaf
commit
4727ccf03e
File diff suppressed because one or more lines are too long
1
assets/en_US_guide_dashboard.md.1a8d2812.lean.js
Normal file
1
assets/en_US_guide_dashboard.md.1a8d2812.lean.js
Normal file
@ -0,0 +1 @@
|
||||
import{_ as e,c as a,o as t,d as o}from"./app.c59cf861.js";const m='{"title":"Preparations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Preparations","slug":"preparations"},{"level":2,"title":"Get the Client ID and Client Secret on Github/Gitlab","slug":"get-the-client-id-and-client-secret-on-github-gitlab"},{"level":2,"title":"Installing Dashboard on the server","slug":"installing-dashboard-on-the-server"},{"level":2,"title":"Configure reverse proxy","slug":"configure-reverse-proxy"},{"level":2,"title":"Configuring SSL in the aaPanel","slug":"configuring-ssl-in-the-aapanel"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"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?","slug":"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"},{"level":3,"title":"What are each table or column in the database?","slug":"what-are-each-table-or-column-in-the-database"},{"level":3,"title":"Does Dashboard update automatically?","slug":"does-dashboard-update-automatically"},{"level":3,"title":"How do I update the Dashboard?","slug":"how-do-i-update-the-dashboard"}],"relativePath":"en_US/guide/dashboard.md"}',n={},s=o("",36),i=[s];function r(l,d,c,p,h,u){return t(),a("div",null,i)}var f=e(n,[["render",r]]);export{m as __pageData,f as default};
|
@ -1 +0,0 @@
|
||||
import{_ as e,c as a,o as t,d as o}from"./app.c59cf861.js";const m='{"title":"Preparations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Preparations","slug":"preparations"},{"level":2,"title":"Get the Client ID and Client Secret on Github","slug":"get-the-client-id-and-client-secret-on-github"},{"level":2,"title":"Installing Dashboard on the server","slug":"installing-dashboard-on-the-server"},{"level":2,"title":"Configure reverse proxy","slug":"configure-reverse-proxy"},{"level":2,"title":"Configuring SSL in the aaPanel","slug":"configuring-ssl-in-the-aapanel"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"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?","slug":"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"},{"level":3,"title":"What are each table or column in the database?","slug":"what-are-each-table-or-column-in-the-database"},{"level":3,"title":"Does Dashboard update automatically?","slug":"does-dashboard-update-automatically"},{"level":3,"title":"How do I update the Dashboard?","slug":"how-do-i-update-the-dashboard"}],"relativePath":"en_US/guide/dashboard.md"}',n={},s=o("",36),i=[s];function r(l,d,c,p,h,u){return t(),a("div",null,i)}var f=e(n,[["render",r]]);export{m as __pageData,f as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as a,c as n,o as s,d as t}from"./app.c59cf861.js";const g='{"title":"Site Title","description":"","frontmatter":{},"headers":[{"level":2,"title":"Site Title","slug":"site-title"},{"level":2,"title":"Admin List","slug":"admin-list"},{"level":2,"title":"Theme","slug":"theme"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"Custom code (style, script)","slug":"custom-code-style-script"},{"level":2,"title":"Access Password","slug":"access-password"},{"level":2,"title":"CDN Bypassed Domain/IP","slug":"cdn-bypassed-domain-ip"},{"level":2,"title":"IP Change Alert","slug":"ip-change-alert"}],"relativePath":"en_US/guide/settings.md"}',e={},o=t(`<h2 id="site-title" tabindex="-1">Site Title <a class="header-anchor" href="#site-title" aria-hidden="true">#</a></h2><p>You can customize your site title here<br><br></p><h2 id="admin-list" tabindex="-1">Admin List <a class="header-anchor" href="#admin-list" aria-hidden="true">#</a></h2><ul><li><p>If you have changed your Github/Gitee username, you can change it in this item, otherwise you can't log in, please separate multiple users with commas: <code>user1,user2</code></p></li><li><p>To change your administrator account, please go to <code>/opt/nezha/dashboard/data/config.yaml</code> to set the new administrator <code>Client ID</code> and <code>Client Secret</code>.<br><br></p></li></ul><h2 id="theme" tabindex="-1">Theme <a class="header-anchor" href="#theme" aria-hidden="true">#</a></h2><p>Select the home page theme here, and update the panel if there is not an existing theme in the options<br><br></p><h2 id="language" tabindex="-1">Language <a class="header-anchor" href="#language" aria-hidden="true">#</a></h2><p>Nezha Monitoring currently supports the following languages:</p><ul><li>\u7B80\u4F53\u4E2D\u6587</li><li>English</li><li>Espa\xF1ol</li></ul><p><a href="https://crowdin.com/project/nezha" target="_blank" rel="noopener noreferrer"><img src="https://badges.crowdin.net/nezha/localized.svg" alt=""></a><br> We welcome corrections to translations and contributions of additional languages<br><br></p><h2 id="custom-code-style-script" tabindex="-1">Custom code (style, script) <a class="header-anchor" href="#custom-code-style-script" aria-hidden="true">#</a></h2><p>Change logo, change color tone, add statistics code, etc.</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>The custom code only takes effect in the visitor's home page, not in the admin panel.<br> Since the code of different themes is different, if you really need to modify the content of the admin panel, please enter Docker to changes it by yourself.</p></div><br><h4 id="example-of-changing-the-default-theme-progress-bar-color" tabindex="-1">Example of changing the default theme progress bar color <a class="header-anchor" href="#example-of-changing-the-default-theme-progress-bar-color" aria-hidden="true">#</a></h4><div class="language-html"><pre><code><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>style</span><span class="token punctuation">></span></span><span class="token style"><span class="token language-css">
|
||||
import{_ as a,c as n,o as s,d as t}from"./app.c59cf861.js";const g='{"title":"Site Title","description":"","frontmatter":{},"headers":[{"level":2,"title":"Site Title","slug":"site-title"},{"level":2,"title":"Admin List","slug":"admin-list"},{"level":2,"title":"Theme","slug":"theme"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"Custom code (style, script)","slug":"custom-code-style-script"},{"level":2,"title":"Access Password","slug":"access-password"},{"level":2,"title":"CDN Bypassed Domain/IP","slug":"cdn-bypassed-domain-ip"},{"level":2,"title":"IP Change Alert","slug":"ip-change-alert"}],"relativePath":"en_US/guide/settings.md"}',e={},o=t(`<h2 id="site-title" tabindex="-1">Site Title <a class="header-anchor" href="#site-title" aria-hidden="true">#</a></h2><p>You can customize your site title here<br><br></p><h2 id="admin-list" tabindex="-1">Admin List <a class="header-anchor" href="#admin-list" aria-hidden="true">#</a></h2><ul><li><p>If you have changed your Github, Gitlab, Jihulab, Gitee username, you can change it in this item, otherwise you can't log in, please separate multiple users with commas: <code>user1,user2</code></p></li><li><p>To change your administrator account, please go to <code>/opt/nezha/dashboard/data/config.yaml</code> to set the new administrator <code>Client ID</code> and <code>Client Secret</code>.<br><br></p></li></ul><h2 id="theme" tabindex="-1">Theme <a class="header-anchor" href="#theme" aria-hidden="true">#</a></h2><p>Select the home page theme here, and update the panel if there is not an existing theme in the options<br><br></p><h2 id="language" tabindex="-1">Language <a class="header-anchor" href="#language" aria-hidden="true">#</a></h2><p>Nezha Monitoring currently supports the following languages:</p><ul><li>\u7B80\u4F53\u4E2D\u6587</li><li>English</li><li>Espa\xF1ol</li></ul><p><a href="https://crowdin.com/project/nezha" target="_blank" rel="noopener noreferrer"><img src="https://badges.crowdin.net/nezha/localized.svg" alt=""></a><br> We welcome corrections to translations and contributions of additional languages<br><br></p><h2 id="custom-code-style-script" tabindex="-1">Custom code (style, script) <a class="header-anchor" href="#custom-code-style-script" aria-hidden="true">#</a></h2><p>Change logo, change color tone, add statistics code, etc.</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>The custom code only takes effect in the visitor's home page, not in the admin panel.<br> Since the code of different themes is different, if you really need to modify the content of the admin panel, please enter Docker to changes it by yourself.</p></div><br><h4 id="example-of-changing-the-default-theme-progress-bar-color" tabindex="-1">Example of changing the default theme progress bar color <a class="header-anchor" href="#example-of-changing-the-default-theme-progress-bar-color" aria-hidden="true">#</a></h4><div class="language-html"><pre><code><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>style</span><span class="token punctuation">></span></span><span class="token style"><span class="token language-css">
|
||||
<span class="token selector">.ui.fine.progress> .bar</span> <span class="token punctuation">{</span>
|
||||
<span class="token property">background-color</span><span class="token punctuation">:</span> pink <span class="token important">!important</span><span class="token punctuation">;</span>
|
||||
<span class="token punctuation">}</span>
|
File diff suppressed because one or more lines are too long
1
assets/guide_dashboard.md.9b2394f1.lean.js
Normal file
1
assets/guide_dashboard.md.9b2394f1.lean.js
Normal file
@ -0,0 +1 @@
|
||||
import{_ as e,c as a,o as t,d as n}from"./app.c59cf861.js";const k='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"\u83B7\u53D6Github/Jihulab\u7684Client ID\u548C\u5BC6\u94A5","slug":"\u83B7\u53D6github-jihulab\u7684client-id\u548C\u5BC6\u94A5"},{"level":2,"title":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5Dashboard","slug":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5dashboard"},{"level":2,"title":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406","slug":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},{"level":2,"title":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6ESSL","slug":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6Essl"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"\u6211\u5BF9\u9762\u677F\u63D0\u4F9B\u7684\u6570\u636E\u4FEE\u6539/\u589E\u52A0\u529F\u80FD\u4E0D\u6EE1\u610F\uFF0C\u6211\u60F3\u8981\u81EA\u5DF1\u4FEE\u6539/\u589E\u52A0\u6570\u636E\u600E\u4E48\u529E\uFF1F","slug":"\u6211\u5BF9\u9762\u677F\u63D0\u4F9B\u7684\u6570\u636E\u4FEE\u6539-\u589E\u52A0\u529F\u80FD\u4E0D\u6EE1\u610F\uFF0C\u6211\u60F3\u8981\u81EA\u5DF1\u4FEE\u6539-\u589E\u52A0\u6570\u636E\u600E\u4E48\u529E\uFF1F"},{"level":3,"title":"\u6570\u636E\u5E93\u4E2D\u5404\u8868/\u5217\u662F\u4EC0\u4E48\u610F\u601D\uFF1F","slug":"\u6570\u636E\u5E93\u4E2D\u5404\u8868-\u5217\u662F\u4EC0\u4E48\u610F\u601D\uFF1F"},{"level":3,"title":"Dashboard \u4F1A\u81EA\u52A8\u66F4\u65B0\u5417\uFF1F","slug":"dashboard-\u4F1A\u81EA\u52A8\u66F4\u65B0\u5417\uFF1F"},{"level":3,"title":"\u5982\u4F55\u66F4\u65B0 Dashboard\uFF1F","slug":"\u5982\u4F55\u66F4\u65B0-dashboard\uFF1F"}],"relativePath":"guide/dashboard.md"}',s={},o=n("",39),r=[o];function p(l,c,i,d,h,u){return t(),a("div",null,r)}var m=e(s,[["render",p]]);export{k as __pageData,m as default};
|
@ -1 +0,0 @@
|
||||
import{_ as e,c as a,o as n,d as t}from"./app.c59cf861.js";const k='{"title":"\u51C6\u5907\u5DE5\u4F5C","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u51C6\u5907\u5DE5\u4F5C","slug":"\u51C6\u5907\u5DE5\u4F5C"},{"level":2,"title":"\u83B7\u53D6Github\u7684Client ID\u548C\u5BC6\u94A5","slug":"\u83B7\u53D6github\u7684client-id\u548C\u5BC6\u94A5"},{"level":2,"title":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5Dashboard","slug":"\u5728\u670D\u52A1\u5668\u4E2D\u5B89\u88C5dashboard"},{"level":2,"title":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406","slug":"\u914D\u7F6E\u53CD\u5411\u4EE3\u7406"},{"level":2,"title":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6ESSL","slug":"\u5728\u5B9D\u5854\u9762\u677F\u4E2D\u914D\u7F6Essl"},{"level":2,"title":"FAQ","slug":"faq"},{"level":3,"title":"\u6211\u5BF9\u9762\u677F\u63D0\u4F9B\u7684\u6570\u636E\u4FEE\u6539/\u589E\u52A0\u529F\u80FD\u4E0D\u6EE1\u610F\uFF0C\u6211\u60F3\u8981\u81EA\u5DF1\u4FEE\u6539/\u589E\u52A0\u6570\u636E\u600E\u4E48\u529E\uFF1F","slug":"\u6211\u5BF9\u9762\u677F\u63D0\u4F9B\u7684\u6570\u636E\u4FEE\u6539-\u589E\u52A0\u529F\u80FD\u4E0D\u6EE1\u610F\uFF0C\u6211\u60F3\u8981\u81EA\u5DF1\u4FEE\u6539-\u589E\u52A0\u6570\u636E\u600E\u4E48\u529E\uFF1F"},{"level":3,"title":"\u6570\u636E\u5E93\u4E2D\u5404\u8868/\u5217\u662F\u4EC0\u4E48\u610F\u601D\uFF1F","slug":"\u6570\u636E\u5E93\u4E2D\u5404\u8868-\u5217\u662F\u4EC0\u4E48\u610F\u601D\uFF1F"},{"level":3,"title":"Dashboard \u4F1A\u81EA\u52A8\u66F4\u65B0\u5417\uFF1F","slug":"dashboard-\u4F1A\u81EA\u52A8\u66F4\u65B0\u5417\uFF1F"},{"level":3,"title":"\u5982\u4F55\u66F4\u65B0 Dashboard\uFF1F","slug":"\u5982\u4F55\u66F4\u65B0-dashboard\uFF1F"}],"relativePath":"guide/dashboard.md"}',s={},o=t("",38),r=[o];function p(l,c,i,d,h,u){return n(),a("div",null,r)}var m=e(s,[["render",p]]);export{k as __pageData,m as default};
|
@ -1,4 +1,4 @@
|
||||
import{_ as n,c as a,o as s,d as t}from"./app.c59cf861.js";const g='{"title":"\u7AD9\u70B9\u6807\u9898","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7AD9\u70B9\u6807\u9898","slug":"\u7AD9\u70B9\u6807\u9898"},{"level":2,"title":"\u7BA1\u7406\u5458\u5217\u8868","slug":"\u7BA1\u7406\u5458\u5217\u8868"},{"level":2,"title":"\u4E3B\u9898","slug":"\u4E3B\u9898"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"\u81EA\u5B9A\u4E49\u4EE3\u7801","slug":"\u81EA\u5B9A\u4E49\u4EE3\u7801"},{"level":2,"title":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801","slug":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u672A\u63A5\u5165CDN\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D/IP","slug":"\u672A\u63A5\u5165cdn\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D-ip"},{"level":2,"title":"IP \u53D8\u66F4\u63D0\u9192","slug":"ip-\u53D8\u66F4\u63D0\u9192"}],"relativePath":"guide/settings.md"}',p={},e=t(`<h2 id="\u7AD9\u70B9\u6807\u9898" tabindex="-1">\u7AD9\u70B9\u6807\u9898 <a class="header-anchor" href="#\u7AD9\u70B9\u6807\u9898" aria-hidden="true">#</a></h2><p>\u4F60\u53EF\u4EE5\u5728\u6B64\u9879\u4E2D\u81EA\u5B9A\u4E49\u4F60\u7684\u7AD9\u70B9\u6807\u9898 <br></p><h2 id="\u7BA1\u7406\u5458\u5217\u8868" tabindex="-1">\u7BA1\u7406\u5458\u5217\u8868 <a class="header-anchor" href="#\u7BA1\u7406\u5458\u5217\u8868" aria-hidden="true">#</a></h2><ul><li><p>\u5982\u679C\u4F60\u4FEE\u6539\u4E86\u81EA\u5DF1\u7684Github/Gitee\u7528\u6237\u540D\uFF0C\u53EF\u4EE5\u5728\u6B64\u9879\u4E2D\u540C\u6B65\u4FEE\u6539\uFF0C\u5426\u5219\u65E0\u6CD5\u767B\u5F55\uFF0C\u591A\u4E2A\u7528\u6237\u8BF7\u7528\u9017\u53F7\u9694\u5F00: <code>user1,user2</code></p></li><li><p>\u5982\u9700\u66F4\u6539\u7BA1\u7406\u5458\u8D26\u6237\uFF0C\u8BF7\u524D\u5F80 <code>/opt/nezha/dashboard/data/config.yaml</code> \uFF0C\u91CD\u65B0\u8BBE\u7F6E\u65B0\u7684\u7BA1\u7406\u5458 <code>Client ID</code> \u548C <code>Client Secret</code><br></p></li></ul><h2 id="\u4E3B\u9898" tabindex="-1">\u4E3B\u9898 <a class="header-anchor" href="#\u4E3B\u9898" aria-hidden="true">#</a></h2><p>\u5728\u8FD9\u91CC\u9009\u62E9\u4E3B\u9875\u4E3B\u9898\uFF0C\u5982\u679C\u9009\u9879\u4E2D\u6CA1\u6709\u67D0\u4E2A\u5DF2\u5B58\u5728\u7684\u4E3B\u9898\uFF0C\u8BF7\u66F4\u65B0\u9762\u677F <br></p><h2 id="language" tabindex="-1">Language <a class="header-anchor" href="#language" aria-hidden="true">#</a></h2><p>\u54EA\u5412\u76D1\u63A7\u76EE\u524D\u652F\u6301\u4EE5\u4E0B\u8BED\u8A00\uFF1A</p><ul><li>\u7B80\u4F53\u4E2D\u6587</li><li>English</li><li>Espa\xF1ol</li></ul><p><a href="https://crowdin.com/project/nezha" target="_blank" rel="noopener noreferrer"><img src="https://badges.crowdin.net/nezha/localized.svg" alt=""></a><br> \u6211\u4EEC\u6B22\u8FCE\u60A8\u5BF9\u7FFB\u8BD1\u8FDB\u884C\u52D8\u8BEF\u548C\u8D21\u732E\u66F4\u591A\u8BED\u8A00 <br></p><h2 id="\u81EA\u5B9A\u4E49\u4EE3\u7801" tabindex="-1">\u81EA\u5B9A\u4E49\u4EE3\u7801 <a class="header-anchor" href="#\u81EA\u5B9A\u4E49\u4EE3\u7801" aria-hidden="true">#</a></h2><p>\u6539LOGO\u3001\u6539\u8272\u8C03\u3001\u52A0\u7EDF\u8BA1\u4EE3\u7801\u7B49\u3002</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>\u81EA\u5B9A\u4E49\u4EE3\u7801\u4EC5\u5728\u6E38\u5BA2\u9996\u9875\u751F\u6548\uFF0C\u7BA1\u7406\u9762\u677F\u4E0D\u751F\u6548<br> \u7531\u4E8E\u4E0D\u540C\u4E3B\u9898\u7684\u4EE3\u7801\u4E0D\u540C\uFF0C\u5982\u786E\u9700\u4FEE\u6539\u7BA1\u7406\u9762\u677F\u4E2D\u7684\u5185\u5BB9\uFF0C\u8BF7\u81EA\u884C\u524D\u5F80 Docker \u4E2D\u7814\u7A76\u4FEE\u6539</p></div><br><h4 id="\u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B" tabindex="-1">\u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B <a class="header-anchor" href="#\u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B" aria-hidden="true">#</a></h4><div class="language-html"><pre><code><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>style</span><span class="token punctuation">></span></span><span class="token style"><span class="token language-css">
|
||||
import{_ as n,c as a,o as s,d as t}from"./app.c59cf861.js";const g='{"title":"\u7AD9\u70B9\u6807\u9898","description":"","frontmatter":{},"headers":[{"level":2,"title":"\u7AD9\u70B9\u6807\u9898","slug":"\u7AD9\u70B9\u6807\u9898"},{"level":2,"title":"\u7BA1\u7406\u5458\u5217\u8868","slug":"\u7BA1\u7406\u5458\u5217\u8868"},{"level":2,"title":"\u4E3B\u9898","slug":"\u4E3B\u9898"},{"level":2,"title":"Language","slug":"language"},{"level":2,"title":"\u81EA\u5B9A\u4E49\u4EE3\u7801","slug":"\u81EA\u5B9A\u4E49\u4EE3\u7801"},{"level":2,"title":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801","slug":"\u524D\u53F0\u67E5\u770B\u5BC6\u7801"},{"level":2,"title":"\u672A\u63A5\u5165CDN\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D/IP","slug":"\u672A\u63A5\u5165cdn\u7684\u9762\u677F\u670D\u52A1\u5668\u57DF\u540D-ip"},{"level":2,"title":"IP \u53D8\u66F4\u63D0\u9192","slug":"ip-\u53D8\u66F4\u63D0\u9192"}],"relativePath":"guide/settings.md"}',p={},e=t(`<h2 id="\u7AD9\u70B9\u6807\u9898" tabindex="-1">\u7AD9\u70B9\u6807\u9898 <a class="header-anchor" href="#\u7AD9\u70B9\u6807\u9898" aria-hidden="true">#</a></h2><p>\u4F60\u53EF\u4EE5\u5728\u6B64\u9879\u4E2D\u81EA\u5B9A\u4E49\u4F60\u7684\u7AD9\u70B9\u6807\u9898 <br></p><h2 id="\u7BA1\u7406\u5458\u5217\u8868" tabindex="-1">\u7BA1\u7406\u5458\u5217\u8868 <a class="header-anchor" href="#\u7BA1\u7406\u5458\u5217\u8868" aria-hidden="true">#</a></h2><ul><li><p>\u5982\u679C\u4F60\u4FEE\u6539\u4E86\u81EA\u5DF1\u7684Github, Gitlab, Jihulab\u6216Gitee\u7684\u7528\u6237\u540D\uFF0C\u53EF\u4EE5\u5728\u6B64\u9879\u4E2D\u540C\u6B65\u4FEE\u6539\uFF0C\u5426\u5219\u65E0\u6CD5\u767B\u5F55\uFF0C\u591A\u4E2A\u7528\u6237\u8BF7\u7528\u9017\u53F7\u9694\u5F00: <code>user1,user2</code></p></li><li><p>\u5982\u9700\u66F4\u6539\u7BA1\u7406\u5458\u8D26\u6237\uFF0C\u8BF7\u524D\u5F80 <code>/opt/nezha/dashboard/data/config.yaml</code> \uFF0C\u91CD\u65B0\u8BBE\u7F6E\u65B0\u7684\u7BA1\u7406\u5458 <code>Client ID</code> \u548C <code>Client Secret</code><br></p></li></ul><h2 id="\u4E3B\u9898" tabindex="-1">\u4E3B\u9898 <a class="header-anchor" href="#\u4E3B\u9898" aria-hidden="true">#</a></h2><p>\u5728\u8FD9\u91CC\u9009\u62E9\u4E3B\u9875\u4E3B\u9898\uFF0C\u5982\u679C\u9009\u9879\u4E2D\u6CA1\u6709\u67D0\u4E2A\u5DF2\u5B58\u5728\u7684\u4E3B\u9898\uFF0C\u8BF7\u66F4\u65B0\u9762\u677F <br></p><h2 id="language" tabindex="-1">Language <a class="header-anchor" href="#language" aria-hidden="true">#</a></h2><p>\u54EA\u5412\u76D1\u63A7\u76EE\u524D\u652F\u6301\u4EE5\u4E0B\u8BED\u8A00\uFF1A</p><ul><li>\u7B80\u4F53\u4E2D\u6587</li><li>English</li><li>Espa\xF1ol</li></ul><p><a href="https://crowdin.com/project/nezha" target="_blank" rel="noopener noreferrer"><img src="https://badges.crowdin.net/nezha/localized.svg" alt=""></a><br> \u6211\u4EEC\u6B22\u8FCE\u60A8\u5BF9\u7FFB\u8BD1\u8FDB\u884C\u52D8\u8BEF\u548C\u8D21\u732E\u66F4\u591A\u8BED\u8A00 <br></p><h2 id="\u81EA\u5B9A\u4E49\u4EE3\u7801" tabindex="-1">\u81EA\u5B9A\u4E49\u4EE3\u7801 <a class="header-anchor" href="#\u81EA\u5B9A\u4E49\u4EE3\u7801" aria-hidden="true">#</a></h2><p>\u6539LOGO\u3001\u6539\u8272\u8C03\u3001\u52A0\u7EDF\u8BA1\u4EE3\u7801\u7B49\u3002</p><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>\u81EA\u5B9A\u4E49\u4EE3\u7801\u4EC5\u5728\u6E38\u5BA2\u9996\u9875\u751F\u6548\uFF0C\u7BA1\u7406\u9762\u677F\u4E0D\u751F\u6548<br> \u7531\u4E8E\u4E0D\u540C\u4E3B\u9898\u7684\u4EE3\u7801\u4E0D\u540C\uFF0C\u5982\u786E\u9700\u4FEE\u6539\u7BA1\u7406\u9762\u677F\u4E2D\u7684\u5185\u5BB9\uFF0C\u8BF7\u81EA\u884C\u524D\u5F80 Docker \u4E2D\u7814\u7A76\u4FEE\u6539</p></div><br><h4 id="\u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B" tabindex="-1">\u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B <a class="header-anchor" href="#\u9ED8\u8BA4\u4E3B\u9898\u66F4\u6539\u8FDB\u5EA6\u6761\u989C\u8272\u793A\u4F8B" aria-hidden="true">#</a></h4><div class="language-html"><pre><code><span class="token tag"><span class="token tag"><span class="token punctuation"><</span>style</span><span class="token punctuation">></span></span><span class="token style"><span class="token language-css">
|
||||
<span class="token selector">.ui.fine.progress> .bar</span> <span class="token punctuation">{</span>
|
||||
<span class="token property">background-color</span><span class="token punctuation">:</span> pink <span class="token important">!important</span><span class="token punctuation">;</span>
|
||||
<span class="token punctuation">}</span>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -126,7 +126,7 @@ Authorization: Token
|
||||
]
|
||||
}
|
||||
</code></pre></div></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/api.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><a class="link" href="/en_US/guide/settings" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>Settings</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/en_US/guide/q2" data-v-38ede35f><span class="text" data-v-38ede35f>Let the Agent start/on-line, and the self-test process of the problem</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-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"661726af\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"eb9d4bfe\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"fe41ec52\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"cd086446\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"1a8d2812\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"25501edb\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"9b2394f1\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"3535b319\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script type="module" async src="/assets/app.c59cf861.js"></script>
|
||||
|
||||
</body>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -38,7 +38,7 @@
|
||||
}
|
||||
}
|
||||
</code></pre></div><p>Dashboard Configuration</p><ul><li>First login to the Dashboard and enter the admin panel, go to the settings page, fill in the <code>CDN Bypassed Domain/IP</code> with the domain name you configured in Nginx or Caddy, for example <code>data.example.com</code>, and save it.</li><li>Then open the <code>/opt/nezha/dashboard/data/config.yaml</code> file in the panel server and change <code>proxygrpcport</code> to the port that Nginx or Caddy is listening on, such as <code>443</code> as set in the previous step. Since we have SSL/TLS enabled in Nginx or Caddy, we need to set <code>tls</code> to <code>true</code>, restart the panel when you are done.</li></ul><p>Agent Configuration</p><ul><li>Log in to the admin panel, copy the one-click install command, and run the one-click install command on the corresponding server to reinstall the agent.</li></ul><p>Enable Cloudflare CDN (optional)</p><p>According to Cloudflare gRPC requirements: gRPC services must listen on port 443 and must support TLS and HTTP/2. So if you need to enable CDN, you must use port 443 when configuring Nginx or Caddy reverse proxy gRPC and configure the certificate (Caddy will automatically apply and configure the certificate).</p><ul><li>Log in to Cloudflare and select the domain you are using. Go to the <code>Network</code> page and turn on the <code>gRPC</code> switch, then go to the <code>DNS</code> page, find the resolution record of the domain with gRPC configuration, and turn on the orange cloud icon to enable CDN.</li></ul></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/q3.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><a class="link" href="/en_US/guide/q2" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>Let the Agent start/on-line, and the self-test process of the problem</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/en_US/guide/q4" data-v-38ede35f><span class="text" data-v-38ede35f>Real-time channel disconnection/online terminal connection failure</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-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"661726af\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"eb9d4bfe\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"fe41ec52\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"cd086446\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"1a8d2812\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"25501edb\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"9b2394f1\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"3535b319\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script type="module" async src="/assets/app.c59cf861.js"></script>
|
||||
|
||||
</body>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -37,7 +37,7 @@
|
||||
start
|
||||
<span class="token punctuation">}</span>
|
||||
</code></pre></div><ul><li>运行 <code>chmod +x /etc/init.d/nezha-service</code> 赋予执行权限</li><li>启动服务: <code>/etc/init.d/nezha-service enable && /etc/init.d/nezha-service start</code><br><br><br><br></li></ul><h2 id="自定义agent监控项目" tabindex="-1">自定义Agent监控项目 <a class="header-anchor" href="#自定义agent监控项目" aria-hidden="true">#</a></h2><h4 id="自定义监控的网卡和硬盘分区" tabindex="-1">自定义监控的网卡和硬盘分区 <a class="header-anchor" href="#自定义监控的网卡和硬盘分区" aria-hidden="true">#</a></h4><ul><li>执行 <code>/opt/nezha/agent/nezha-agent --edit-agent-config</code> 来选择自定义的网卡和分区,然后重启 Agent 即可生效</li></ul><h4 id="其他运行参数" tabindex="-1">其他运行参数 <a class="header-anchor" href="#其他运行参数" aria-hidden="true">#</a></h4><p>通过执行 <code>./nezha-agent --help</code> 查看支持的参数,如果你使用了一键脚本安装Agent,可以编辑 <code>/etc/systemd/system/nezha-agent.service</code>,在 <code>ExecStart=</code> 这一行的末尾加上以下参数</p><ul><li><code>--report-delay</code> 控制系统信息上报的间隔,默认为 1 秒,可以设置为 3 来进一步降低 agent 端系统资源占用(配置区间 1-4)</li><li><code>--skip-conn</code> 不监控连接数,推荐 机场/连接密集型服务器或CPU占用较高的服务器设置</li><li><code>--skip-procs</code> 不监控进程数,也可以降低 agent 占用</li><li><code>--disable-auto-update</code> 禁止 <strong>自动更新</strong> Agent(安全特性)</li><li><code>--disable-force-update</code> 禁止 <strong>强制更新</strong> Agent(安全特性)</li><li><code>--disable-command-execute</code> 禁止在 Agent 上执行定时任务、打开在线终端(安全特性)</li><li><code>--tls</code> 启用 SSL/TLS 加密(使用 nginx 反向代理 Agent 的 grpc 连接,并且 nginx 开启 SSL/TLS 时,需要启用该项配置)</li></ul><h2 id="faq" tabindex="-1">FAQ <a class="header-anchor" href="#faq" aria-hidden="true">#</a></h2><h3 id="agent-有-docker-镜像吗?" tabindex="-1">Agent 有 Docker 镜像吗? <a class="header-anchor" href="#agent-有-docker-镜像吗?" aria-hidden="true">#</a></h3><p><strong>Agent 目前没有推出 Docker 镜像。</strong><br> Agent 的设计思路和 Dashboard 相反,Dashboard 要尽可能不影响宿主机工作,但 Agent 则需要在宿主机中执行监控服务和运行命令。<br> 将 Agent 放入容器中确实可以继续执行监控任务,但 WebShell 等功能无法正常运行,因此不提供 Docker 镜像。</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/guide/agent.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>在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><a class="link" href="/guide/dashboard" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>安装 Dashboard</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/guide/servers" data-v-38ede35f><span class="text" data-v-38ede35f>主机</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-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"661726af\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"eb9d4bfe\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"fe41ec52\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"cd086446\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"1a8d2812\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"25501edb\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"9b2394f1\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"3535b319\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script type="module" async src="/assets/app.c59cf861.js"></script>
|
||||
|
||||
</body>
|
||||
|
File diff suppressed because one or more lines are too long
@ -126,7 +126,7 @@ Authorization: Token
|
||||
]
|
||||
}
|
||||
</code></pre></div></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/guide/api.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>在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><a class="link" href="/guide/settings" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>设置</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/guide/q1" data-v-38ede35f><span class="text" data-v-38ede35f>TG api被墙</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-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"661726af\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"eb9d4bfe\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"fe41ec52\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"cd086446\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"1a8d2812\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"25501edb\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"9b2394f1\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"3535b319\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script type="module" async src="/assets/app.c59cf861.js"></script>
|
||||
|
||||
</body>
|
||||
|
File diff suppressed because one or more lines are too long
@ -20,7 +20,7 @@
|
||||
systemctl restart <span class="token function">docker</span>
|
||||
systemctl status <span class="token function">docker</span>
|
||||
</code></pre></div><p>重启后尝试重新安装面板。<br> 若依然出现iptables...等错误,则考虑是否直接关闭iptables甚至移除iptables。<br> 这个问题也可能由内核引起,也可以尝试更换官方内核。</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/guide/dashboardq.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>在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><a class="link" href="/guide/q5" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>如何进行数据迁移、备份恢复?</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/guide/agentq" data-v-38ede35f><span class="text" data-v-38ede35f>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-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"661726af\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"eb9d4bfe\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"fe41ec52\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"cd086446\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"1a8d2812\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"25501edb\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"9b2394f1\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"3535b319\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script type="module" async src="/assets/app.c59cf861.js"></script>
|
||||
|
||||
</body>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -60,7 +60,7 @@ ufw allow proto tcp from serverIp to any port <span class="token number">443</sp
|
||||
iptables -I INPUT -p tcp --dport <span class="token number">443</span> -j DROP
|
||||
iptables -I INPUT -s serverIp -p tcp --dport <span class="token number">443</span> -j ACCEPT
|
||||
</code></pre></div></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/guide/q1.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>在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><a class="link" href="/guide/api" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>API</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/guide/q2" data-v-38ede35f><span class="text" data-v-38ede35f>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-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"661726af\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"eb9d4bfe\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"fe41ec52\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"cd086446\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"1a8d2812\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"25501edb\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"9b2394f1\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"3535b319\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script type="module" async src="/assets/app.c59cf861.js"></script>
|
||||
|
||||
</body>
|
||||
|
File diff suppressed because one or more lines are too long
@ -38,7 +38,7 @@
|
||||
}
|
||||
}
|
||||
</code></pre></div><p>Dashboard 面板端配置</p><ul><li>首先登录面板进入管理后台 打开设置页面,在 <code>未接入CDN的面板服务器域名/IP</code> 中填入上一步在 Nginx 或 Caddy 中配置的域名 比如 <code>data.example.com</code> ,并保存。</li><li>然后在面板服务器中,打开 /opt/nezha/dashboard/data/config.yaml 文件,将 <code>proxygrpcport</code> 修改为 Nginx 或 Caddy 监听的端口,比如上一步设置的 <code>443</code> ;因为我们在 Nginx 或 Caddy 中开启了 SSL/TLS,所以需要将 <code>tls</code> 设置为 <code>true</code> ;修改完成后重启面板。</li></ul><p>Agent 端配置</p><ul><li>登录面板管理后台,复制一键安装命令,在对应的服务器上面执行一键安装命令重新安装 agent 端即可。</li></ul><p>开启 Cloudflare CDN(可选)</p><p>根据 Cloudflare gRPC 的要求:gRPC 服务必须侦听 443 端口 且必须支持 TLS 和 HTTP/2。 所以如果需要开启 CDN,必须在配置 Nginx 或者 Caddy 反向代理 gRPC 时使用 443 端口,并配置证书(Caddy 会自动申请并配置证书)。</p><ul><li>登录 Cloudflare,选择使用的域名。打开 <code>网络</code> 选项将 <code>gRPC</code> 开关打开,打开 <code>DNS</code> 选项,找到 Nginx 或 Caddy 反代 gRPC 配置的域名的解析记录,打开橙色云启用 CDN。</li></ul></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/guide/q3.md" target="_blank" rel="noopener noreferrer" data-v-1ed99556>在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><a class="link" href="/guide/q2" data-v-38ede35f><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-38ede35f><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-38ede35f>Agent 启动/上线 问题自检流程</span></a></div><div class="next" data-v-38ede35f><a class="link" href="/guide/q4" data-v-38ede35f><span class="text" data-v-38ede35f>实时通道断开/在线终端连接失败</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-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"661726af\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"eb9d4bfe\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"fe41ec52\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"cd086446\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"developer_index.md\":\"73745970\",\"developer_l10n.md\":\"84df007d\",\"developer_theme.md\":\"10393f71\",\"en_us_developer_index.md\":\"df68d0e0\",\"en_us_developer_l10n.md\":\"ccda64e7\",\"en_us_developer_theme.md\":\"269a5170\",\"en_us_guide_agent.md\":\"405e94e9\",\"en_us_guide_agentq.md\":\"094fcb6f\",\"en_us_guide_api.md\":\"fde8c0a6\",\"en_us_guide_dashboard.md\":\"1a8d2812\",\"en_us_guide_dashboardq.md\":\"ac04f4d0\",\"en_us_guide_loginq.md\":\"0379f96c\",\"en_us_guide_notifications.md\":\"f2f143b0\",\"en_us_guide_q2.md\":\"bbad7ab9\",\"en_us_guide_q3.md\":\"37e5f372\",\"en_us_guide_q4.md\":\"72447cee\",\"en_us_guide_q5.md\":\"4bd8b06a\",\"en_us_guide_servers.md\":\"f083b70a\",\"en_us_guide_services.md\":\"c8ca2548\",\"en_us_guide_settings.md\":\"25501edb\",\"en_us_guide_tasks.md\":\"5bd4651e\",\"en_us_index.md\":\"3aaf4a98\",\"guide_agent.md\":\"b34cc937\",\"guide_agentq.md\":\"c0c374da\",\"guide_api.md\":\"d9d6bcb1\",\"guide_dashboard.md\":\"9b2394f1\",\"guide_dashboardq.md\":\"08b34d6b\",\"guide_loginq.md\":\"9e45095c\",\"guide_notifications.md\":\"b7a587bd\",\"guide_q1.md\":\"eae9ada6\",\"guide_q2.md\":\"8c395f8c\",\"guide_q3.md\":\"393bb3f1\",\"guide_q4.md\":\"f2a6e087\",\"guide_q5.md\":\"efdadad4\",\"guide_servers.md\":\"236b045e\",\"guide_services.md\":\"218f0dfd\",\"guide_settings.md\":\"3535b319\",\"guide_tasks.md\":\"c3d40967\",\"index.md\":\"b088365b\"}")</script>
|
||||
<script type="module" async src="/assets/app.c59cf861.js"></script>
|
||||
|
||||
</body>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
{"developer_index.md":"73745970","developer_l10n.md":"84df007d","developer_theme.md":"10393f71","en_us_developer_index.md":"df68d0e0","en_us_developer_l10n.md":"ccda64e7","en_us_developer_theme.md":"269a5170","en_us_guide_agent.md":"405e94e9","en_us_guide_agentq.md":"094fcb6f","en_us_guide_api.md":"fde8c0a6","en_us_guide_dashboard.md":"661726af","en_us_guide_dashboardq.md":"ac04f4d0","en_us_guide_loginq.md":"0379f96c","en_us_guide_notifications.md":"f2f143b0","en_us_guide_q2.md":"bbad7ab9","en_us_guide_q3.md":"37e5f372","en_us_guide_q4.md":"72447cee","en_us_guide_q5.md":"4bd8b06a","en_us_guide_servers.md":"f083b70a","en_us_guide_services.md":"c8ca2548","en_us_guide_settings.md":"eb9d4bfe","en_us_guide_tasks.md":"5bd4651e","en_us_index.md":"3aaf4a98","guide_agent.md":"b34cc937","guide_agentq.md":"c0c374da","guide_api.md":"d9d6bcb1","guide_dashboard.md":"fe41ec52","guide_dashboardq.md":"08b34d6b","guide_loginq.md":"9e45095c","guide_notifications.md":"b7a587bd","guide_q1.md":"eae9ada6","guide_q2.md":"8c395f8c","guide_q3.md":"393bb3f1","guide_q4.md":"f2a6e087","guide_q5.md":"efdadad4","guide_servers.md":"236b045e","guide_services.md":"218f0dfd","guide_settings.md":"cd086446","guide_tasks.md":"c3d40967","index.md":"b088365b"}
|
||||
{"developer_index.md":"73745970","developer_l10n.md":"84df007d","developer_theme.md":"10393f71","en_us_developer_index.md":"df68d0e0","en_us_developer_l10n.md":"ccda64e7","en_us_developer_theme.md":"269a5170","en_us_guide_agent.md":"405e94e9","en_us_guide_agentq.md":"094fcb6f","en_us_guide_api.md":"fde8c0a6","en_us_guide_dashboard.md":"1a8d2812","en_us_guide_dashboardq.md":"ac04f4d0","en_us_guide_loginq.md":"0379f96c","en_us_guide_notifications.md":"f2f143b0","en_us_guide_q2.md":"bbad7ab9","en_us_guide_q3.md":"37e5f372","en_us_guide_q4.md":"72447cee","en_us_guide_q5.md":"4bd8b06a","en_us_guide_servers.md":"f083b70a","en_us_guide_services.md":"c8ca2548","en_us_guide_settings.md":"25501edb","en_us_guide_tasks.md":"5bd4651e","en_us_index.md":"3aaf4a98","guide_agent.md":"b34cc937","guide_agentq.md":"c0c374da","guide_api.md":"d9d6bcb1","guide_dashboard.md":"9b2394f1","guide_dashboardq.md":"08b34d6b","guide_loginq.md":"9e45095c","guide_notifications.md":"b7a587bd","guide_q1.md":"eae9ada6","guide_q2.md":"8c395f8c","guide_q3.md":"393bb3f1","guide_q4.md":"f2a6e087","guide_q5.md":"efdadad4","guide_servers.md":"236b045e","guide_services.md":"218f0dfd","guide_settings.md":"3535b319","guide_tasks.md":"c3d40967","index.md":"b088365b"}
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user