deploy: dafa616636
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.98396bc7.js">
|
||||
<link rel="modulepreload" href="/assets/app.3817bf4e.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_q3.md.9dec917f.lean.js">
|
||||
<link rel="modulepreload" href="/assets/en_US_guide_q3.md.c17bd27b.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\":\"307cf63c\",\"case_case2.md\":\"69236ddc\",\"case_case3.md\":\"368c8995\",\"case_case4.md\":\"c7f1028a\",\"case_index.md\":\"f3043c92\",\"developer_index.md\":\"9f7d41b6\",\"developer_l10n.md\":\"5acd8224\",\"developer_theme.md\":\"a7be7fc4\",\"en_us_case_case1.md\":\"d363e329\",\"en_us_case_case2.md\":\"c08bbeee\",\"en_us_case_case3.md\":\"96d8a4f0\",\"en_us_case_case4.md\":\"b43ce3f0\",\"en_us_case_index.md\":\"4ec65ec4\",\"en_us_developer_index.md\":\"c80035b0\",\"en_us_developer_l10n.md\":\"9f302b86\",\"en_us_developer_theme.md\":\"36e45dbc\",\"en_us_guide_agent.md\":\"13dbfb03\",\"en_us_guide_agentq.md\":\"8004d1c7\",\"en_us_guide_api.md\":\"3b8df475\",\"en_us_guide_dashboard.md\":\"d71ddcaa\",\"en_us_guide_dashboardq.md\":\"2f682559\",\"en_us_guide_loginq.md\":\"bb13c308\",\"en_us_guide_notifications.md\":\"34aa8b74\",\"en_us_guide_q2.md\":\"8a8e525c\",\"en_us_guide_q3.md\":\"9dec917f\",\"en_us_guide_q4.md\":\"43dc60ed\",\"en_us_guide_q5.md\":\"39a24389\",\"en_us_guide_q6.md\":\"9ef0484c\",\"en_us_guide_q7.md\":\"bd89c602\",\"en_us_guide_servers.md\":\"b98b83f7\",\"en_us_guide_services.md\":\"cb5533e9\",\"en_us_guide_settings.md\":\"ebd49bfb\",\"en_us_guide_tasks.md\":\"1c8d2ad0\",\"en_us_index.md\":\"aacc7793\",\"guide_agent.md\":\"6aac146b\",\"guide_agentq.md\":\"4a5fd9ec\",\"guide_api.md\":\"369ef1a4\",\"guide_dashboard.md\":\"4a4a0f5b\",\"guide_dashboardq.md\":\"1ff27f18\",\"guide_loginq.md\":\"67199057\",\"guide_notifications.md\":\"638ff5ef\",\"guide_q1.md\":\"43d76ace\",\"guide_q2.md\":\"49e05df9\",\"guide_q3.md\":\"a037a11c\",\"guide_q4.md\":\"aebc239c\",\"guide_q5.md\":\"3cba632d\",\"guide_q6.md\":\"e5ce2d15\",\"guide_q7.md\":\"4bce9a71\",\"guide_servers.md\":\"85bbeef3\",\"guide_services.md\":\"8d4ecc4d\",\"guide_settings.md\":\"bea3938e\",\"guide_tasks.md\":\"597fa5f0\",\"index.md\":\"5125de42\"}")</script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"case_case1.md\":\"663a4f57\",\"case_case2.md\":\"e1d29db3\",\"case_case3.md\":\"1c787d1f\",\"case_case4.md\":\"9c9034f4\",\"case_index.md\":\"b0c33278\",\"developer_index.md\":\"f836932c\",\"developer_l10n.md\":\"9a74eb04\",\"developer_theme.md\":\"c264daa1\",\"en_us_case_case1.md\":\"30b2a832\",\"en_us_case_case2.md\":\"1927af1d\",\"en_us_case_case3.md\":\"d18b94fe\",\"en_us_case_case4.md\":\"e60d80a6\",\"en_us_case_index.md\":\"93d49376\",\"en_us_developer_index.md\":\"d22c31b9\",\"en_us_developer_l10n.md\":\"e812fb68\",\"en_us_developer_theme.md\":\"950a5519\",\"en_us_guide_agent.md\":\"a33da99e\",\"en_us_guide_agentq.md\":\"583d3347\",\"en_us_guide_api.md\":\"c5b27fe3\",\"en_us_guide_dashboard.md\":\"79a8132f\",\"en_us_guide_dashboardq.md\":\"ea7e7f3a\",\"en_us_guide_loginq.md\":\"9c0057aa\",\"en_us_guide_notifications.md\":\"0737eaae\",\"en_us_guide_q2.md\":\"fa7b853e\",\"en_us_guide_q3.md\":\"c17bd27b\",\"en_us_guide_q4.md\":\"d4b519f9\",\"en_us_guide_q5.md\":\"9573139f\",\"en_us_guide_q6.md\":\"0797b947\",\"en_us_guide_q7.md\":\"e8ca7675\",\"en_us_guide_servers.md\":\"9d0715b3\",\"en_us_guide_services.md\":\"423a1e11\",\"en_us_guide_settings.md\":\"fdcfed52\",\"en_us_guide_tasks.md\":\"f0679d8e\",\"en_us_index.md\":\"fd6dbaf2\",\"guide_agent.md\":\"87a433c8\",\"guide_agentq.md\":\"3970029d\",\"guide_api.md\":\"d0f5fbee\",\"guide_dashboard.md\":\"e1506424\",\"guide_dashboardq.md\":\"936ec4ab\",\"guide_loginq.md\":\"7b9e96c6\",\"guide_notifications.md\":\"3ba84b10\",\"guide_q1.md\":\"f02c6c65\",\"guide_q2.md\":\"3683fa87\",\"guide_q3.md\":\"8691160c\",\"guide_q4.md\":\"548689a5\",\"guide_q5.md\":\"2da5f3f6\",\"guide_q6.md\":\"146c704a\",\"guide_q7.md\":\"785f1610\",\"guide_servers.md\":\"acfe36f9\",\"guide_services.md\":\"31ca051d\",\"guide_settings.md\":\"51e29ff4\",\"guide_tasks.md\":\"1a7be3bb\",\"index.md\":\"928c21e7\"}")</script>
|
||||
<script type="module" async src="/assets/app.3817bf4e.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user