deploy: a308d49a02
This commit is contained in:
+2
-2
@@ -8,7 +8,7 @@
|
||||
<link rel="stylesheet" href="/assets/style.0b9f658b.css">
|
||||
<link rel="modulepreload" href="/assets/chunks/AlgoliaSearchBox.2b248d1a.js">
|
||||
<link rel="modulepreload" href="/assets/app.4f7c959e.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_q3.md.a8f82e44.lean.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_q3.md.5e477958.lean.js">
|
||||
|
||||
<meta name="twitter:title" content="Reverse Proxy gRPC Port (support Cloudflare CDN) | Nezha Monitoring">
|
||||
<meta property="og:title" content="Reverse Proxy gRPC Port (support Cloudflare CDN) | Nezha Monitoring">
|
||||
@@ -45,7 +45,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><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><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("{\"case_case1.md\":\"0672fbe4\",\"case_case2.md\":\"1415ce3e\",\"case_case3.md\":\"2db4bb35\",\"case_case4.md\":\"b316da3a\",\"case_index.md\":\"7dc76a21\",\"developer_index.md\":\"60bef361\",\"developer_l10n.md\":\"9c5b76cd\",\"developer_theme.md\":\"633cfc72\",\"en_us_case_case1.md\":\"4d0f0711\",\"en_us_case_case2.md\":\"4d6f342f\",\"en_us_case_case3.md\":\"9f62cf26\",\"en_us_case_case4.md\":\"19ac9598\",\"en_us_case_index.md\":\"b4a7ddbc\",\"en_us_developer_index.md\":\"b9610d19\",\"en_us_developer_l10n.md\":\"399d8ca9\",\"en_us_developer_theme.md\":\"9451614f\",\"en_us_guide_agent.md\":\"03af9c07\",\"en_us_guide_agentq.md\":\"78a523e9\",\"en_us_guide_api.md\":\"3a87de88\",\"en_us_guide_dashboard.md\":\"4afdaf58\",\"en_us_guide_dashboardq.md\":\"677d8978\",\"en_us_guide_loginq.md\":\"6c5ae181\",\"en_us_guide_notifications.md\":\"d18f13cd\",\"en_us_guide_q2.md\":\"41380a13\",\"en_us_guide_q3.md\":\"a8f82e44\",\"en_us_guide_q4.md\":\"6c1c3f8d\",\"en_us_guide_q5.md\":\"ee26829b\",\"en_us_guide_q6.md\":\"19c6b368\",\"en_us_guide_servers.md\":\"6c3b1d79\",\"en_us_guide_services.md\":\"a7e73300\",\"en_us_guide_settings.md\":\"09820802\",\"en_us_guide_tasks.md\":\"dc8086c2\",\"en_us_index.md\":\"87b7ba3e\",\"guide_agent.md\":\"3d1bab5b\",\"guide_agentq.md\":\"7e3a8e3d\",\"guide_api.md\":\"066cb848\",\"guide_dashboard.md\":\"de04605d\",\"guide_dashboardq.md\":\"1eef8878\",\"guide_loginq.md\":\"7bd32ef0\",\"guide_notifications.md\":\"0742472d\",\"guide_q1.md\":\"24879c35\",\"guide_q2.md\":\"50296bd1\",\"guide_q3.md\":\"947f69e3\",\"guide_q4.md\":\"17d14332\",\"guide_q5.md\":\"0fe9bff1\",\"guide_q6.md\":\"6aeffd9b\",\"guide_servers.md\":\"d37ef924\",\"guide_services.md\":\"9cb81c55\",\"guide_settings.md\":\"491cd0b7\",\"guide_tasks.md\":\"db538916\",\"index.md\":\"d0cfcf23\"}")</script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"5389ffe1\",\"case_case2.md\":\"8ab62680\",\"case_case3.md\":\"eac0c1a5\",\"case_case4.md\":\"e2118e33\",\"case_index.md\":\"75fca096\",\"developer_index.md\":\"e23b837e\",\"developer_l10n.md\":\"840c0d07\",\"developer_theme.md\":\"679dc541\",\"en_us_case_case1.md\":\"8df6c7fc\",\"en_us_case_case2.md\":\"4917efeb\",\"en_us_case_case3.md\":\"941cecca\",\"en_us_case_case4.md\":\"30314c60\",\"en_us_case_index.md\":\"7235b7f6\",\"en_us_developer_index.md\":\"8ddc5453\",\"en_us_developer_l10n.md\":\"0eb04dfe\",\"en_us_developer_theme.md\":\"e11a6d18\",\"en_us_guide_agent.md\":\"73107b1c\",\"en_us_guide_agentq.md\":\"0cfd7d88\",\"en_us_guide_api.md\":\"7886b6fe\",\"en_us_guide_dashboard.md\":\"ad272a0a\",\"en_us_guide_dashboardq.md\":\"1a26af17\",\"en_us_guide_loginq.md\":\"8c0a5e93\",\"en_us_guide_notifications.md\":\"1a9c40fd\",\"en_us_guide_q2.md\":\"e0968dd7\",\"en_us_guide_q3.md\":\"5e477958\",\"en_us_guide_q4.md\":\"c8a16fd0\",\"en_us_guide_q5.md\":\"422daa6d\",\"en_us_guide_q6.md\":\"fd294ff1\",\"en_us_guide_servers.md\":\"e055fa8e\",\"en_us_guide_services.md\":\"3bb04c30\",\"en_us_guide_settings.md\":\"5430f68f\",\"en_us_guide_tasks.md\":\"e379f41d\",\"en_us_index.md\":\"d7adc9a4\",\"guide_agent.md\":\"427440af\",\"guide_agentq.md\":\"d909a212\",\"guide_api.md\":\"f457f711\",\"guide_dashboard.md\":\"2e1ababb\",\"guide_dashboardq.md\":\"657ef0e3\",\"guide_loginq.md\":\"6165c9b4\",\"guide_notifications.md\":\"6760f88d\",\"guide_q1.md\":\"ce9fd46b\",\"guide_q2.md\":\"73510ebb\",\"guide_q3.md\":\"e17d3891\",\"guide_q4.md\":\"9fb8fb55\",\"guide_q5.md\":\"bb7f6e1d\",\"guide_q6.md\":\"6db15546\",\"guide_servers.md\":\"8cac9ba1\",\"guide_services.md\":\"0399faa5\",\"guide_settings.md\":\"9af8ce37\",\"guide_tasks.md\":\"8532fbc8\",\"index.md\":\"36770051\"}")</script>
|
||||
<script type="module" async src="/assets/app.4f7c959e.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user