deploy: 518edebcb6
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.e0f3452e.js">
|
||||
<link rel="modulepreload" href="/assets/app.d87a5962.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_q3.md.926cfa5c.lean.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_q3.md.394e5619.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\":\"38f09411\",\"case_case2.md\":\"7d3d5bb9\",\"case_case3.md\":\"b8f0a1a7\",\"case_case4.md\":\"5ab77335\",\"case_index.md\":\"77f87a66\",\"developer_index.md\":\"76678a7e\",\"developer_l10n.md\":\"df395b89\",\"developer_theme.md\":\"bb281241\",\"en_us_case_case1.md\":\"9f27266f\",\"en_us_case_case2.md\":\"7e61b356\",\"en_us_case_case3.md\":\"48261e1b\",\"en_us_case_case4.md\":\"951cc68b\",\"en_us_case_index.md\":\"ba65dfa5\",\"en_us_developer_index.md\":\"cd61e216\",\"en_us_developer_l10n.md\":\"9b17b28e\",\"en_us_developer_theme.md\":\"ce57fb6c\",\"en_us_guide_agent.md\":\"77ff91a2\",\"en_us_guide_agentq.md\":\"bb84f381\",\"en_us_guide_api.md\":\"a2d252ec\",\"en_us_guide_dashboard.md\":\"cf693dbc\",\"en_us_guide_dashboardq.md\":\"f6252efa\",\"en_us_guide_loginq.md\":\"c2a9f062\",\"en_us_guide_notifications.md\":\"9494c61b\",\"en_us_guide_q2.md\":\"47761018\",\"en_us_guide_q3.md\":\"926cfa5c\",\"en_us_guide_q4.md\":\"5b1fca3a\",\"en_us_guide_q5.md\":\"d882da20\",\"en_us_guide_q6.md\":\"8f72c2ae\",\"en_us_guide_q7.md\":\"d126481e\",\"en_us_guide_servers.md\":\"2348bfd8\",\"en_us_guide_services.md\":\"2ffece68\",\"en_us_guide_settings.md\":\"86710e09\",\"en_us_guide_tasks.md\":\"a1a34505\",\"en_us_index.md\":\"c29834a2\",\"guide_agent.md\":\"235c77c7\",\"guide_agentq.md\":\"7c5d4b06\",\"guide_api.md\":\"ef7c8a45\",\"guide_dashboard.md\":\"c1c2b7bd\",\"guide_dashboardq.md\":\"65224799\",\"guide_loginq.md\":\"83652db8\",\"guide_notifications.md\":\"9d588d04\",\"guide_q1.md\":\"3f95ccb2\",\"guide_q2.md\":\"189535fc\",\"guide_q3.md\":\"86caf44f\",\"guide_q4.md\":\"2c861c91\",\"guide_q5.md\":\"02db1b47\",\"guide_q6.md\":\"cafc2ed8\",\"guide_q7.md\":\"8e71e9bd\",\"guide_servers.md\":\"a3d0e340\",\"guide_services.md\":\"ca567573\",\"guide_settings.md\":\"ef0f31ed\",\"guide_tasks.md\":\"f6f99a95\",\"index.md\":\"03458742\"}")</script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"a79906a1\",\"case_case2.md\":\"cee04ddc\",\"case_case3.md\":\"64c6f9b1\",\"case_case4.md\":\"9bd86e00\",\"case_index.md\":\"c3a11d60\",\"developer_index.md\":\"cd2cb19b\",\"developer_l10n.md\":\"1f92802c\",\"developer_theme.md\":\"1beb06a0\",\"en_us_case_case1.md\":\"849d8179\",\"en_us_case_case2.md\":\"84c1aeb8\",\"en_us_case_case3.md\":\"77a5f45d\",\"en_us_case_case4.md\":\"c0aabd10\",\"en_us_case_index.md\":\"a352a60e\",\"en_us_developer_index.md\":\"8aab7111\",\"en_us_developer_l10n.md\":\"afcaa63b\",\"en_us_developer_theme.md\":\"8c50b52f\",\"en_us_guide_agent.md\":\"3e7911a9\",\"en_us_guide_agentq.md\":\"b7e0d971\",\"en_us_guide_api.md\":\"6722b49f\",\"en_us_guide_dashboard.md\":\"0c0b7cc4\",\"en_us_guide_dashboardq.md\":\"b628915b\",\"en_us_guide_loginq.md\":\"a399fc53\",\"en_us_guide_notifications.md\":\"e2b0bf39\",\"en_us_guide_q2.md\":\"ff20091d\",\"en_us_guide_q3.md\":\"394e5619\",\"en_us_guide_q4.md\":\"b9545337\",\"en_us_guide_q5.md\":\"bac8eede\",\"en_us_guide_q6.md\":\"bcdb0f94\",\"en_us_guide_q7.md\":\"7e51f35a\",\"en_us_guide_servers.md\":\"c756ceb6\",\"en_us_guide_services.md\":\"aac4aa59\",\"en_us_guide_settings.md\":\"5f5a758b\",\"en_us_guide_tasks.md\":\"87008ea3\",\"en_us_index.md\":\"f8b06f3f\",\"guide_agent.md\":\"8684a0f2\",\"guide_agentq.md\":\"a41ac058\",\"guide_api.md\":\"262afe60\",\"guide_dashboard.md\":\"768ee79e\",\"guide_dashboardq.md\":\"9e03c2f0\",\"guide_loginq.md\":\"e6f57e34\",\"guide_notifications.md\":\"3b12bb52\",\"guide_q1.md\":\"f4d82461\",\"guide_q2.md\":\"2a598323\",\"guide_q3.md\":\"e9abac45\",\"guide_q4.md\":\"63b883d5\",\"guide_q5.md\":\"766c2d8a\",\"guide_q6.md\":\"50871b30\",\"guide_q7.md\":\"bd044df1\",\"guide_servers.md\":\"f2c0df4f\",\"guide_services.md\":\"5967c273\",\"guide_settings.md\":\"46467c63\",\"guide_tasks.md\":\"44b913bf\",\"index.md\":\"e19bee49\"}")</script>
|
||||
<script type="module" async src="/assets/app.d87a5962.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user