deploy: 918f631a6b
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.e3095d59.js">
|
||||
<link rel="modulepreload" href="/assets/app.31af427a.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_q3.md.051799b2.lean.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_q3.md.4b31d410.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>Agent cannot start/on-line. Steps to review logs and troubleshoot</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\":\"6739545c\",\"case_case2.md\":\"c6f6b2c8\",\"case_case3.md\":\"29d5901d\",\"case_case4.md\":\"25a029ee\",\"case_index.md\":\"62eeff26\",\"developer_index.md\":\"be90066a\",\"developer_l10n.md\":\"78637ae6\",\"developer_theme.md\":\"e6c52a4a\",\"en_us_case_case1.md\":\"08aa3e9d\",\"en_us_case_case2.md\":\"5547bd8f\",\"en_us_case_case3.md\":\"4a5cd87d\",\"en_us_case_case4.md\":\"0e803ff7\",\"en_us_case_index.md\":\"bfe15a7c\",\"en_us_developer_index.md\":\"4fd19751\",\"en_us_developer_l10n.md\":\"6cea7a7c\",\"en_us_developer_theme.md\":\"f7c1af4d\",\"en_us_guide_agent.md\":\"65a7e208\",\"en_us_guide_agentq.md\":\"76a493d5\",\"en_us_guide_api.md\":\"84496d21\",\"en_us_guide_dashboard.md\":\"82e26467\",\"en_us_guide_dashboardq.md\":\"92b9a7bd\",\"en_us_guide_loginq.md\":\"b1d40673\",\"en_us_guide_notifications.md\":\"0ebb21fc\",\"en_us_guide_q2.md\":\"a8b5cc15\",\"en_us_guide_q3.md\":\"051799b2\",\"en_us_guide_q4.md\":\"ce063d40\",\"en_us_guide_q5.md\":\"d09c9981\",\"en_us_guide_q6.md\":\"de739334\",\"en_us_guide_q7.md\":\"7f45078a\",\"en_us_guide_servers.md\":\"aabd1143\",\"en_us_guide_services.md\":\"8679f828\",\"en_us_guide_settings.md\":\"091e633f\",\"en_us_guide_tasks.md\":\"cdddbc6f\",\"en_us_index.md\":\"3b9edda6\",\"guide_agent.md\":\"a70dc43f\",\"guide_agentq.md\":\"6c8d4861\",\"guide_api.md\":\"9c5a4722\",\"guide_dashboard.md\":\"879a64c2\",\"guide_dashboardq.md\":\"0244cab6\",\"guide_loginq.md\":\"eb4bfc04\",\"guide_notifications.md\":\"9c0f98ff\",\"guide_q1.md\":\"026042c7\",\"guide_q2.md\":\"dceb6dc3\",\"guide_q3.md\":\"254db0f0\",\"guide_q4.md\":\"9e463cfe\",\"guide_q5.md\":\"97c0ba3c\",\"guide_q6.md\":\"8c0e0a4c\",\"guide_q7.md\":\"3c9e949a\",\"guide_servers.md\":\"de4a5624\",\"guide_services.md\":\"68c5ea8d\",\"guide_settings.md\":\"ddb2272d\",\"guide_tasks.md\":\"ce369305\",\"index.md\":\"69eb4a10\"}")</script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"09e24e3a\",\"case_case2.md\":\"a907c96f\",\"case_case3.md\":\"c63f418b\",\"case_case4.md\":\"9409890f\",\"case_index.md\":\"d508d591\",\"developer_index.md\":\"3f0619c9\",\"developer_l10n.md\":\"fdcf8c12\",\"developer_theme.md\":\"7ad02f06\",\"en_us_case_case1.md\":\"7962de8b\",\"en_us_case_case2.md\":\"b9dce625\",\"en_us_case_case3.md\":\"612c6315\",\"en_us_case_case4.md\":\"3f304990\",\"en_us_case_index.md\":\"0c9eb3b6\",\"en_us_developer_index.md\":\"acba0853\",\"en_us_developer_l10n.md\":\"6d2d30a1\",\"en_us_developer_theme.md\":\"3db9c25f\",\"en_us_guide_agent.md\":\"b6e01641\",\"en_us_guide_agentq.md\":\"2676b214\",\"en_us_guide_api.md\":\"1d55bd7f\",\"en_us_guide_dashboard.md\":\"b9855337\",\"en_us_guide_dashboardq.md\":\"adaef3f3\",\"en_us_guide_loginq.md\":\"18c0313a\",\"en_us_guide_notifications.md\":\"93f85cb8\",\"en_us_guide_q2.md\":\"1a597fad\",\"en_us_guide_q3.md\":\"4b31d410\",\"en_us_guide_q4.md\":\"bc7290a8\",\"en_us_guide_q5.md\":\"5618c79c\",\"en_us_guide_q6.md\":\"cb231a5b\",\"en_us_guide_q7.md\":\"1553b49e\",\"en_us_guide_servers.md\":\"5df0a30f\",\"en_us_guide_services.md\":\"f4e8ccd9\",\"en_us_guide_settings.md\":\"6c2d9640\",\"en_us_guide_tasks.md\":\"5cbf04cf\",\"en_us_index.md\":\"a57ce441\",\"guide_agent.md\":\"55747472\",\"guide_agentq.md\":\"30b40958\",\"guide_api.md\":\"14881521\",\"guide_dashboard.md\":\"059ec3b8\",\"guide_dashboardq.md\":\"efeabd85\",\"guide_loginq.md\":\"c90b42c8\",\"guide_notifications.md\":\"f34639fa\",\"guide_q1.md\":\"7ccf4270\",\"guide_q2.md\":\"419f4b06\",\"guide_q3.md\":\"a64e415e\",\"guide_q4.md\":\"37fc6a83\",\"guide_q5.md\":\"096a4d99\",\"guide_q6.md\":\"7f7b237d\",\"guide_q7.md\":\"04357265\",\"guide_servers.md\":\"86a48d32\",\"guide_services.md\":\"eb57ab44\",\"guide_settings.md\":\"364d6a03\",\"guide_tasks.md\":\"caebad40\",\"index.md\":\"8b413d30\"}")</script>
|
||||
<script type="module" async src="/assets/app.31af427a.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user