Tutorial Tutorial Tutorial Developer Platform Developer Platform Developer Platform ~10 phút ~10 min ~10 នាទី Đồng bộ 2026-06-10 Synced 2026-06-10 ធ្វើសមកាល 2026-06-10

Sử dụng Pages làm nguồn gốc cho Load Balancing Use Pages as an origin for Load Balancing ប្រើ Pages ជាប្រភពសម្រាប់ Load Balancing

Hướng dẫn chi tiết đồng bộ từ docs Cloudflare — mỗi section có backlink tới đúng vị trí trên trang gốc. Detailed guide synced from Cloudflare docs — each section links to the matching anchor on the official page. មគ្គុទ្ទេសក៍លម្អិតធ្វើសមកាលពី docs Cloudflare — ផ្នែកនីមួយៗមានតំណទៅទីតាំងត្រូវគ្នានៅទំព័រផ្លូវការ។

← Danh mục ← Catalog ← បញ្ជី

Giải thích nhanh Quick context បរិបទរហ័ស

Thuộc Developer Platform — thực hành triển khai code, API và dữ liệu trên edge/serverless. Tutorial «Sử dụng Pages as origin for Load Balancing» giúp bạn làm quen luồng triển khai thật — phù hợp đọc trước khi mở tài liệu gốc tiếng Anh. Đọc phần tóm tắt và lưu ý trước — sau đó mở docs gốc để copy lệnh và cấu hình chi tiết.

This tutorial is intended as an introductory example of how you can leverage Cloudflare's global traffic management.

វគ្គបណ្តុះបណ្តាលនេះមានគោលបំណងជាឧទាហរណ៍ដំបូងអំពីរបៀបដែលអ្នកអាចប្រើសម្រាប់ការគ្រប់គ្រងការដឹកជញ្ជូនពិភពលោក Cloudflare ។

Lưu ý Note ចំណាំ

Lưu ý trước khi làm Notes before you start ចំណាំមុនពេលចាប់ផ្តើម

  • Đây là bản tóm tắt trên Orange Cloud Learning Hub — không thay thế tài liệu chính thức.
  • Luôn mở liên kết «Tài liệu gốc» bên dưới khi cần lệnh CLI, snippet code và ảnh minh họa đầy đủ.
  • Cần tài khoản Cloudflare, Wrangler CLI và (thường) hoàn thành hướng dẫn Get started của Workers/Pages.
  • Docs Cloudflare cập nhật thường xuyên — đối chiếu ngày «Rà soát lần cuối» trên trang gốc khi triển khai production.
  • This is a summary on Orange Cloud Learning Hub — it does not replace the official documentation.
  • Open the Official docs link below for CLI commands, code snippets, and full screenshots.
  • Requires a Cloudflare account, Wrangler CLI, and (typically) completing the Workers/Pages Get started guide.
  • Cloudflare docs change frequently — verify the Last reviewed date on the official page before production use.
  • នេះគឺជាការបញ្ជាក់អំពី Orange Cloud Learning Hub — វាគឺជាការផ្លាស់ប្តូរនៃឯកសារផ្លូវការ។
  • ចុចតំណភ្ជាប់ Docs Official នៅខាងក្រោមសម្រាប់ការបញ្ជា CLI, សៀវភៅកូដនិងរូបថតពេញលេញ។
  • តម្រូវឱ្យមានគណនី Cloudflare, Wrangler CLI និង (ប្រហែលជា) ការបញ្ចប់គណនី Workers/Pages Get started ។
  • Cloudflare បានផ្លាស់ប្តូរជាធម្មតានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅ។

Tài liệu gốc — rà soát lần cuối: almost 2 years ago Official docs — last reviewed: almost 2 years ago ឯកសារផ្លូវការ — ពិនិត្យចុងក្រោយ: almost 2 years ago

Overview Overview Overview

Phần «Tổng quan» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Overview" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «Overview» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Hướng dẫn này nhằm mục đích là một ví dụ giới thiệu về cách bạn có thể tận dụng quản lý lưu lượng truy cập toàn cầu của Cloudflare.
This tutorial is intended as an introductory example of how you can leverage Cloudflare's global traffic management.
វគ្គបណ្តុះបណ្តាលនេះមានគោលបំណងជាឧទាហរណ៍ដំបូងអំពីរបៀបដែលអ្នកអាចប្រើសម្រាប់ការគ្រប់គ្រងការដឹកជញ្ជូនពិភពលោក Cloudflare ។
Các phần sau đây sẽ hướng dẫn bạn thông qua việc thiết lập active-passive failover load balancer với Cloudflare Pages là một trong endpoints, đồng thời cũng đi vào chi tiết về dòng công việc bảng điều khiển Load Balancing, và một số giá trị trường quan trọng và khắc phục sự cố.
The following sections will guide you through setting up an active-passive failover load balancer with Cloudflare Pages as one of the endpoints, while also going into details about the Load Balancing dashboard workflow, and some important field values and troubleshooting.
ផ្នែកខាងក្រោមនឹងដំណើរការអ្នកតាមរយៈការកំណត់ active-passive failover load balancer ជាមួយ Cloudflare Pages ជាផ្នែកមួយនៃ endpoints, ខណៈពេលដែលអ្នកនឹងចូលទៅក្នុងលក្ខណៈពិសេសអំពីដំណើរការការងារប្រព័ន្ធប្រតិបត្តិការ Load Balancing និងតម្លៃបណ្តាញសំខាន់មួយចំនួននិងការដោះស្រាយបញ្ហា។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Sử dụng Case Use cases ការប្រើប្រាស់ Cases

Phần «Sử dụng cases» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Use cases" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការប្រើប្រាស់ Cases» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Cài đặt này có thể hữu ích nếu bạn đang di chuyển trang web sản xuất hoặc ứng dụng của mình sang Pages hoặc nếu bạn chỉ muốn có bản sao lưu hoặc trang web được cá nhân hóa khi nguồn gốc chính của bạn bị mất.
This setup can be useful if you are migrating your production website or application to Pages or if you just want to have a backup or a personalized web page for when your primary origin goes down.
ការដំឡើងនេះអាចមានប្រសិទ្ធិភាពប្រសិនបើអ្នកកំពុងផ្លាស់ប្តូរគេហទំព័រឬកម្មវិធីផលិតកម្មរបស់អ្នកទៅ Pages ឬប្រសិនបើអ្នកគ្រាន់តែចង់មានការផ្លាស់ប្តូរសុវត្ថិភាពឬទំព័រអ៊ីនធឺណិតផ្ទាល់ខ្លួនសម្រាប់ពេលដែលប្រភពដំបូងរបស់អ្នកបានកាត់បន្ថយ។

Trước khi bạn bắt đầu Before you begin មុនពេលដែលអ្នកចាប់ផ្តើម

Phần «Before you begin» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Before you begin" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «មុនពេលដែលអ្នកចាប់ផ្តើម» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Hãy chắc chắn:
Make sure you:
សូមប្រាកដថា:

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Tạo Monitor sức khỏe Create health monitor ការបង្កើតសុខភាព Monitor

Phần «Tạo health monitor» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Create health monitor" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការបង្កើតសុខភាព Monitor» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Mặc dù bạn có thể tạo tất cả các thành phần trong dòng công việc Create Load Balancer, sử dụng các phần Manage Monitors và Manage Pools riêng biệt làm cho nó dễ dàng hơn để kiểm tra và khắc phục sự cố cấu hình của mỗi thành phần trước khi đưa chúng lại với nhau trong một load balancer.
Although you can create all the components in the Create Load Balancer workflow, using the Manage Monitors and Manage Pools sections separately makes it easier to test and troubleshoot the configurations of each of these components before bringing them together in a load balancer.
ទោះបីជាអ្នកអាចបង្កើតសមាសភាគទាំងអស់នៅក្នុងដំណើរការការងារ Create Load Balancer ប៉ុន្តែការប្រើប្រាស់ផ្នែក Manage Monitors និង Manage Pools ដោយផ្ទាល់ធ្វើឱ្យវាងាយស្រួលក្នុងការធ្វើតេស្តនិងដោះស្រាយបញ្ហានៃសមាសភាគទាំងអស់នេះមុនពេលធ្វើតេស្តទាំងអស់គ្នាទៅក្នុង load balancer ។
Các màn hình xác định các tiêu chí dựa trên đó một điểm cuối sẽ được coi là lành mạnh hay không. Bắt đầu bằng cách thiết lập một màn hình như sau.
Monitors define the criteria based on which an endpoint will be considered healthy or not. Start by setting up a monitor as follows.
ម៉ាស៊ីនត្រួតពិនិត្យបានកំណត់គោលដៅដែលផ្អែកលើអ្វីដែលបញ្ចប់នឹងត្រូវបានគេស្គាល់ថាមានប្រសិទ្ធិភាពឬមិនមានប្រសិទ្ធិភាព។ ចាប់ផ្តើមដោយការបង្កើត Monitor ដូចខាងក្រោម។
  1. Trong bảng điều khiển Cloudflare, đi đến trang Load Balancing.
  1. In the Cloudflare dashboard, go to the Load Balancing page.
  1. ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Load Balancing ។
  1. Chọn tab Monitors và sau đó chọn Create monitor.
  2. Cung cấp cho màn hình một tên mô tả và xác nhận các trường khác được điền như sau:
  1. Select the Monitors tab and then Create monitor.
  2. Give the monitor a descriptive name and confirm the other fields are filled in as the following:
  1. សូមចុច Monitors និងបន្ទាប់មក Create monitor ។
  2. សូមផ្តល់ឈ្មោះសៀវភៅសម្រាប់ម៉ាស៊ីនត្រួតពិនិត្យនិងអនុញ្ញាតឱ្យកន្លែងផ្សេងទៀតត្រូវបានបញ្ចប់ដូចខាងក្រោម:
Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá Bảng giá
| Field | Value | | ----- | ----- | | Type | HTTP | | Path | / | | Port | 80 |
កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់កញ្ចក់
  1. Trong Advanced health check settings, giữ các giá trị mặc định và bật tùy chọn Follow Redirects.
  1. Under Advanced health check settings, keep the default values and enable the Follow Redirects option.
  1. នៅក្រោម Advanced health check settings, រក្សាទុកតម្លៃទូទៅនិងអនុញ្ញាតតំណាង Follow Redirects ។
Khi bạn đang sử dụng một dịch vụ như Cloudflare Pages, có thể các yêu cầu từ màn hình sức khỏe - cũng như các yêu cầu từ khách truy cập của bạn - được chuyển hướng trước khi đến đích. Bằng cách bật tùy chọn này, màn hình sẽ không báo cáo một điểm cuối không lành mạnh khi nó chỉ được chuyển hướng (ví dụ: với mã 301).
When you are using a service like Cloudflare Pages, it is possible that requests from the health monitor - as well as the ones from your visitors - are redirected before reaching their destination. Enabling this option prevents the monitor from reporting an unhealthy endpoint when it actually has only been redirected (with a 301 code, for example).
When you are using a service like Cloudflare Pages, it is possible that requests from the health monitor - as well as the ones from your visitors - are redirected before reaching their destination. Enabling this option prevents the monitor from reporting an unhealthy endpoint when it actually has only been redirected (with a 301 code, for example).
Tip
Tip
Tip
Bạn có thể đặt tên cho màn hình sau các tham số mà bạn đã xác định. Ví dụ: HTTP - 200 - Follow Redirects
You can name the monitor after the parameters you have defined. For example: HTTP - 200 - Follow Redirects.
អ្នកអាចចែកចាយឈ្មោះម៉ាស៊ីនបន្ទាប់ពីទំហំដែលអ្នកបានកំណត់។ ដូចជា HTTP - 200 - Follow Redirects ។
Bằng cách này, bạn có thể dễ dàng nhớ các tiêu chí mà một màn hình cụ thể đang sử dụng khi bạn quyết định kết nối nó với các điểm cuối khác.
This way you can easily remember the criteria a certain monitor is using when you decide to attach it to other endpoints as well.
ដូច្នេះអ្នកអាចរក្សាទុកយ៉ាងងាយស្រួលគោលដៅដែលអ្នកប្រើម៉ាស៊ីនត្រួតពិនិត្យមួយចំនួននៅពេលដែលអ្នកជ្រើសរើសដើម្បីបន្ថែមវាទៅនឹងបញ្ចប់ផ្សេងទៀតផងដែរ។
  1. Chọn Save để xác nhận.
  1. Select Save to confirm.
  1. ចុច Save ដើម្បីបញ្ជាក់។

Tạo Ba Lan Create pools ការបង្កើតប្លាស្ទិច

Phần «Tạo pools» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Create pools" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការបង្កើតប្លាស្ទិច» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Hồ bơi lưu trữ thông tin về nơi các yêu cầu của giám sát sức khỏe và yêu cầu của khách truy cập của bạn sẽ được chuyển hướng.
Pools hold information about where the health monitor requests and your visitors requests will be directed to.
កុំព្យូទ័ររក្សាទុកព័ត៌មានអំពីកន្លែងដែលសុខភាពការត្រួតពិនិត្យតម្រូវការនិងតម្រូវការអ្នកទស្សនកិច្ចរបស់អ្នកនឹងត្រូវបានផ្ញើទៅ។
Để hỗ trợ use cases được đề cập ở trên, và giả sử bạn chỉ có một máy chủ nguồn cho trang web sản xuất của bạn và một máy chủ cho trường hợp Cloudflare Pages, hãy tạo hai nhóm với mỗi điểm cuối:
To support the use cases mentioned above, and assuming you only have one origin server for your production website and one for the Cloudflare Pages instance, create two pools with one endpoint each:
ដើម្បីអនុញ្ញាតឱ្យ use cases ដែលបាននិយាយនៅលើនេះហើយប្រសិនបើអ្នកមានផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកមួយសម្រាប់គេហទំព័រផលិតកម្មរបស់អ្នកនិងផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែក Cloudflare Pages ។
quan trọng
Important
សំខាន់
Điểm cuối chỉ đến Cloudflare Pages phải có host header điền vào với tên miền dự án (<project>.pages.dev) để nó giải quyết chính xác. Bạn có thể tìm thấy một bảng tham chiếu cho cài đặt chính xác trong Bước 8 bên dưới.
The endpoint pointing to Cloudflare Pages must have host header filled in with the project domain (<project>.pages.dev) for it to resolve correctly. You can find a reference table for correct setup in Step 8 below.
កុំព្យូទ័រដែលបង្ហាញទៅ Cloudflare Pages នឹងត្រូវមាន host header បានបញ្ចូលជាមួយតំបន់គម្រោង (<project>.pages.dev) ដើម្បីដោះស្រាយវាយ៉ាងត្រឹមត្រូវ។ អ្នកអាចរកឃើញថ្នាំបង្ហាញសម្រាប់ការដំឡើងត្រឹមត្រូវនៅក្នុងដំណាក់កាលទី 8 នៅខាងក្រោម។
Không thêm tiêu đề máy chủ sẽ dẫn đến response code mismatch error cho màn hình và Error 1000: DNS points to prohibited IP cho khách truy cập (nếu load balancer được bật mặc dù trạng thái màn hình không lành mạnh).
Failing to add the host header will result in response code mismatch error for the monitor, and Error 1000: DNS points to prohibited IP for visitors (if the load balancer is enabled despite the unhealthy monitor status).
ប្រសិនបើអ្នកមិនបានបន្ថែមកំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់កំណត់ (response code mismatch error for the monitor, and Error 1000: DNS points to prohibited IP for visitors) (if the load balancer is enabled despite the unhealthy monitor status
  1. Trong bảng điều khiển Cloudflare, đi đến trang Load Balancing.
  1. In the Cloudflare dashboard, go to the Load Balancing page.
  1. ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Load Balancing ។
  1. Chọn tab Pools và sau đó chọn Create monitor.
  2. Đối với hồ bơi đầu tiên, bắt đầu bằng cách điền vào các trường:
  1. Select the Pools tab and then Create monitor.
  2. For the first pool, start by filling out the fields:
  1. សូមចុច Pools និងបន្ទាប់មក Create monitor ។
  2. សម្រាប់ការដំបូង, ចាប់ផ្តើមដោយការបញ្ចប់ឧបករណ៍:
  • Một tên cho hồ bơi (phải là duy nhất). Lời bài hát: primary
  • Một mô tả để cung cấp thêm chi tiết về tên. Lời bài hát: production website
  • A name for the pool (must be unique). Suggestion: primary
  • A description to provide more details on the name. Suggestion: production website
  • សៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅ អាសយដ្ឋាន: primary
  • សៀវភៅមួយដើម្បីផ្តល់នូវពិសេសបន្ថែមទៀតអំពីឈ្មោះ។ អាសយដ្ឋាន: production website
  1. Để lại sự lựa chọn cho Endpoint Steering như hiện tại. Vì mỗi hồ bơi sẽ chỉ có một điểm cuối, phương pháp điều khiển này sẽ không can thiệp trong trường hợp này.
  2. Thêm máy chủ nguồn của bạn làm điểm cuối với thông tin sau:
  1. Leave the choice for Endpoint Steering as is. Since each pool will only have one endpoint, this steering method will not interfere in this case.
  2. Add your origin server as an endpoint with the following information:
  1. ជម្រើសសម្រាប់ Endpoint Steering ដូច្នេះ។ ប្រសិនបើប្រព័ន្ធគ្រប់គ្រងទាំងអស់នឹងមានបញ្ចប់មួយប៉ុណ្ណោះ, ប្រព័ន្ធគ្រប់គ្រងនេះនឹងមិនជួសជុលនៅក្នុងករណីនេះ។
  2. បន្ថែមប្រព័ន្ធប្រតិបត្តិការអ៊ីនធឺណិតរបស់អ្នកជាកន្លែងបញ្ចប់ជាមួយនឹងព័ត៌មានដូចខាងក្រោម:
  • Một tên cho điểm cuối (phải là duy nhất). Lời khuyên: my-website
  • Địa chỉ điểm cuối IP hoặc tên máy chủ.
  • A name for the endpoint (must be unique). Suggestion: my-website.
  • The endpoint IP address or hostname.
  • ឈ្មោះសម្រាប់បញ្ចប់ (គួរតែមានតែមួយគត់) សូមអរគុណ my-website ។
  • អាសយដ្ឋានអ៊ីនធឺណិត IP ឬឈ្មោះក្រុមហ៊ុនផលិត។
Cảnh báo Như ví dụ trong Bước 8 dưới đây, khi sử dụng Cloudflare làm điểm cuối, do not chỉ định một trong các địa chỉ Cloudflare anycast IP. Bởi vì các IP này có thể thay đổi bất cứ lúc nào, bạn nên sử dụng tên máy chủ thay vào đó.
Warning As exemplified in Step 8 below, when using Cloudflare as an endpoint, do not specify one of Cloudflare's anycast IP addresses. Because these IPs can change at any time, you should use a hostname instead.
ដូចដែលបានបង្ហាញនៅក្នុងដំណោះស្រាយ 8 នៅក្រោមនេះ, នៅពេលដែលអ្នកប្រើ Cloudflare ជាកន្លែងបញ្ចប់, do not អនុញ្ញាតឱ្យអ្នកបញ្ជាក់មួយនៃអាសយដ្ឋាន Cloudflare ទាំងអស់ IP ។ ដោយសារតែ IPs ទាំងនេះអាចផ្លាស់ប្តូរនៅពេលណាមួយអ្នកគួរតែប្រើឈ្មោះក្រុមហ៊ុនផ្គត់ផ្គង់ជាផ្នែកមួយ។
  • Điểm cuối weight, có thể được đặt thành 1. Vì mỗi nhóm sẽ chỉ có một điểm cuối, trọng lượng điểm cuối sẽ không tạo ra sự khác biệt trong trường hợp này.
  • Một hostname bằng cách chọn Add host header.
  • The endpoint weight, which can be set to 1. Since each pool will only have one endpoint, the endpoint weight will not make a difference in this case.
  • A hostname by selecting Add host header.
  • ការបញ្ចប់ weight ដែលអាចត្រូវបានកំណត់ទៅ 1 ។ ប្រសិនបើប្រព័ន្ធផ្សព្វផ្សាយទាំងអស់នឹងមានបញ្ចប់មួយតែមួយគត់, ទំងន់បញ្ចប់នឹងមិនធ្វើការផ្សេងគ្នានៅពេលនេះ។
  • កម្រិត hostname ដោយជ្រើស Add host header ។
Cảnh báo Nếu trang web sản xuất của bạn được lưu trữ trên một nền tảng như Cloudflare Pages, nơi bạn có một tên miền con mặc định (example.pages.dev) và sau đó cấu hình một custom domain (my-app.com), bạn sẽ cần phải thêm một tiêu đề máy chủ để tránh thất bại yêu cầu giám sát sức khỏe.
Warning If your production website is hosted on a platform like Cloudflare Pages, where you have a default subdomain (example.pages.dev) and then configure a custom domain (my-app.com), you will need to add a host header to avoid failing the health monitor request.
ប្រសិនបើគេហទំព័រផលិតកម្មរបស់អ្នកត្រូវបានគេហទំព័រនៅលើបណ្តាញដូចជា Cloudflare Pages ដែលអ្នកមានតំបន់បណ្តាញទូទៅ (example.pages.dev) ហើយបន្ទាប់មកកំណត់តម្រូវការ custom domain (my-app.com) អ្នកនឹងត្រូវការបន្ថែមកំណត់ហេតុបណ្ដាញរបស់អ្នកដើម្បីគ្មានការបញ្ចប់តម្រូវការសុខភាព។
  1. Hoàn thành cấu hình hồ bơi đầu tiên với thông tin sau:
  1. Finish configuring the first pool with the following information:
  1. បានបញ្ចប់ការកំណត់កុំព្យូទ័រដំបូងជាមួយនឹងព័ត៌មានដូចខាងក្រោម:
  • Để lại Health Threshold đặt thành 1. Vì mỗi nhóm sẽ chỉ có một điểm cuối, đây là giá trị duy nhất có thể cho trường này.
  • Chọn Monitor được cấu hình trong bước trước.
  • Chọn Health Check Regions để chọn từ đâu locations Cloudflare nên gửi yêu cầu màn hình để định kỳ kiểm tra sức khỏe điểm cuối.
  • Leave the Health Threshold set to 1. Since each pool will only have one endpoint, this is the only possible value for this field.
  • Select the Monitor configured in the previous step.
  • Select Health Check Regions to choose from which locations Cloudflare should send monitor requests to periodically test the endpoint health.
  • ទាញយក Health Threshold ទៅ 1 ។ ប្រសិនបើប្រព័ន្ធផ្សព្វផ្សាយទាំងអស់នឹងមានបញ្ចប់មួយប៉ុណ្ណោះ, នេះគឺជាតម្លៃតែមួយដែលអាចធ្វើបានសម្រាប់ឧបករណ៍នេះ។
  • ចុច Monitor ដែលបានកំណត់នៅក្នុងដំណោះស្រាយមុន។
  • ចុច Health Check Regions ដើម្បីជ្រើសរើសពី locations Cloudflare ដែលគួរផ្ញើសំណួរសម្រាប់ម៉ាស៊ីនបញ្ជាដើម្បីធ្វើតេស្តសុខភាពនៃបញ្ចប់។
  1. Chọn Save
  2. Lặp lại quy trình cho nhóm thứ hai bằng cách sử dụng các giá trị sau:
  1. Select Save
  2. Repeat the process for the second pool using the following values:
  1. ជម្រើស Save
  2. ការធ្វើដំណើរការនេះធ្វើឱ្យប្រសិនបើអ្នកកំពុងធ្វើដំណើរការសម្រាប់ក្រុមហ៊ុនទីពីរដែលមានគុណភាពដូចខាងក្រោម:
| Field | Value | | -------------------------- | --------------------------------------- | | Pool name | secondary | | Description | Pages version | | Endpoint steering | <default> | | Endpoint name | my-pages-website | | Endpoint address | <your custom domain or Pages subdomain> | | Weight | 1 | | Host (Add host header) | <your custom domain or Pages subdomain> | | Health threshold | 1 | | Monitor | <monitor defined on previous step> | | Health check regions | <select region of your choice> |
| Field | Value | | -------------------------- | --------------------------------------- | | Pool name | secondary | | Description | Pages version | | Endpoint steering | <default> | | Endpoint name | my-pages-website | | Endpoint address | <your custom domain or Pages subdomain> | | Weight | 1 | | Host (Add host header) | <your custom domain or Pages subdomain> | | Health threshold | 1 | | Monitor | <monitor defined on previous step> | | Health check regions | <select region of your choice> |
| Field | Value | | -------------------------- | --------------------------------------- | | Pool name | secondary | | Description | Pages version | | Endpoint steering | <default> | | Endpoint name | my-pages-website | | Endpoint address | <your custom domain or Pages subdomain> | | Weight | 1 | | Host (Add host header) | <your custom domain or Pages subdomain> | | Health threshold | 1 | | Monitor | <monitor defined on previous step> | | Health check regions | <select region of your choice> |

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Kiểm tra tình trạng sức khỏe điểm cuối Check the endpoints health status សូមពិនិត្យមើលប្រសិទ្ធិភាពសុខភាពនៃ endpoints

Phần «Check endpoints health status» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Check the endpoints health status" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «សូមពិនិត្យមើលប្រសិទ្ធិភាពសុខភាពនៃ endpoints» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Trước khi cài đặt load balancer:
Before setting up the load balancer:
មុនពេលដំឡើង load balancer:
  1. Trong bảng điều khiển Cloudflare, đi đến trang Load Balancing.
  1. In the Cloudflare dashboard, go to the Load Balancing page.
  1. ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Load Balancing ។
  1. Đi đến Pools tab.
  2. Tìm các nhóm bạn đã tạo trong danh sách và kiểm tra nếu trạng thái của chúng là Healthy. Bạn có thể cần phải làm mới trang.
  3. Mở rộng mỗi mục nhập nhóm để xác nhận rằng tình trạng sức khỏe cho các điểm cuối trong đó cũng là Healthy.
  1. Go to the Pools tab.
  2. Find the pools you created in the list and check if their status is Healthy. You might have to refresh the page.
  3. Expand each pool entry to confirm that the health status for endpoints within them is also Healthy.
  1. សូមចូលទៅក្នុង Pools ។
  2. សូមស្វែងរកក្រុមហ៊ុនដែលអ្នកបានបង្កើតនៅក្នុងសៀវភៅនិងពិនិត្យមើលថាតើគោលដៅរបស់ពួកគេគឺ Healthy ។ តើអ្នកអាចធ្វើឱ្យទំព័រនេះមានកម្រិតខ្ពស់។
  3. ការពង្រីកទីផ្សារមួយដើម្បីបញ្ជាក់ថាតើសុខភាពនៃទីផ្សារខាងក្នុងរបស់ពួកគេគឺជា Healthy ។
Nguyên tắc cơ bản là, nếu cả trang web sản xuất của bạn và dự án Cloudflare Pages của bạn đều có thể truy cập trực tiếp và trực tiếp thông qua trình duyệt, các màn hình cũng nên có thể nhận được mã 200 dưới dạng phản hồi HTTP.
The basic principle is that, if both your production website and your Cloudflare Pages project are live and directly accessible via browser, the monitors should also be able to get a 200 code as HTTP response.
គោលនយោបាយមូលដ្ឋាននេះគឺថា ប្រសិនបើគេហទំព័រផលិតកម្មរបស់អ្នកនិងគម្រោង Cloudflare Pages របស់អ្នកទាំងពីរអាចរកបានដោយផ្ទាល់និងដោយផ្ទាល់តាមរយៈបណ្តាញទាញយកម៉ាស៊ីនត្រួតពិនិត្យគំរូ 200 ដូចជាការឆ្លើយតប HTTP ។
Kiểm tra hồ bơi của bạn và theo dõi cấu hình để xác nhận rằng họ đã làm theo các hướng dẫn ở trên. Nếu bạn vẫn gặp vấn đề, hãy tham khảo Troubleshooting hoặc FAQ.
Revise your pools and monitor configurations to confirm they followed the instructions above. If you still find issues, refer to Troubleshooting or FAQ.
សូមពិនិត្យមើលការកំណត់និងការត្រួតពិនិត្យការកំណត់របស់អ្នកដើម្បីបញ្ជាក់ថាតើពួកគេបានអនុវត្តតាមដំណោះស្រាយខាងលើ។ ប្រសិនបើអ្នកបានរកឃើញបញ្ហាសម្រាប់ Troubleshooting ឬ FAQ

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Tạo load balancer Create load balancer បានបង្កើត load balancer

Phần «Tạo load balancer» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Create load balancer" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «បានបង្កើត load balancer» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Sau khi xác nhận các điểm cuối và màn hình được thiết lập chính xác và trả về trạng thái sức khỏe dự kiến, hãy tạo load balancer:
After confirming the endpoints and monitors are set up correctly and return the expected health status, create the load balancer:
បន្ទាប់ពីបានបញ្ជាក់ថាតំបន់បញ្ចប់និងម៉ាស៊ីនត្រួតពិនិត្យត្រូវបានកំណត់ត្រឹមត្រូវហើយធ្វើឱ្យប្រសិនបើមានស្ថានភាពសុខភាពដែលគួរឱ្យចាប់អារម្មណ៍បានបង្កើត load balancer:
  1. Trong bảng điều khiển Cloudflare, đi đến trang Load Balancing.
  1. In the Cloudflare dashboard, go to the Load Balancing page.
  1. ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Load Balancing ។
  1. Chọn Create load balancer
  2. Trên trang Hostname, cấu hình sau đây và chọn Next.
  1. Select Create load balancer.
  2. On the Hostname page, configure the following and select Next.
  1. សូមជ្រើស Create load balancer ។
  2. នៅលើទំព័រ Hostname បានកំណត់ដូចខាងក្រោមនិងជ្រើស Next ។
Nhập Hostname, đó là tên DNS nơi load balancer có sẵn. Lời khuyên: Hiện tại, bạn chỉ có thể thêm tên máy chủ tạm thời như lb (vì vậy giá trị trường hoàn chỉnh sẽ trông giống như lb.<your_domain>). Kết nối biểu tượng đám mây màu cam để cập nhật proxy mode, ảnh hưởng đến cách lưu lượng truy cập được định tuyến và địa chỉ IP nào được quảng cáo. * Chọn tùy chọn ưa thích của bạn cho session affinity và adaptive routing.
Enter a Hostname, which is the DNS name at which the load balancer is available. Suggestion: for now, you can just add a temporary hostname such as lb (so the complete field value would look like lb.<your_domain>). Toggle the orange cloud icon to update the proxy mode, which affects how traffic is routed and which IP addresses are advertised. * Select your preferred option for session affinity and adaptive routing.
ទាញយកឈ្មោះ Hostname ដែលជាឈ្មោះ DNS ដែលមានឈ្មោះ load balancer ។ គំនិត: សម្រាប់ឥឡូវនេះ, អ្នកអាចបន្ថែមឈ្មោះក្រុមហ៊ុនផ្គត់ផ្គង់ជាពេលវេលាដូចជា lb (ដូច្នេះតម្លៃបណ្តាញពេញលេញនឹងមើលទៅជា lb.<your_domain>) ។ បង្ហោះអេឡិចត្រូនិខិតខិតខិតខិតដើម្បីបច្ចុប្បន្នភាព proxy mode ដែលមានប្រសិទ្ធិភាពអំពីរបៀបដំណើរការត្រូវបានដំណើរការនិងអាសយដ្ឋាន IP ដែលត្រូវបានអនុម័ត។ * ជ្រើសជម្រើសដែលអ្នកចង់សម្រាប់ session affinity និង adaptive routing ។
  1. Trên trang Add a Pool, cấu hình sau đây và chọn Next.
  1. On the Add a Pool page, configure the following and select Next.
  1. នៅលើទំព័រ Add a Pool បានកំណត់ដូចខាងក្រោមនិងជ្រើស Next ។
Chọn hồ bơi đầu tiên bạn đã tạo trước đó và chọn Add Pool. Làm tương tự cho hồ bơi thứ hai và sắp xếp lại chúng nếu cần thiết. Đối với mục đích của hướng dẫn này, nhóm trang web sản xuất của bạn sẽ là nhóm đầu tiên (primary) và nhóm Cloudflare Pages sẽ là nhóm thứ hai (secondary). * Nếu cần thiết, hãy cập nhật Fallback Pool. Đối với mục đích của hướng dẫn này, bạn có thể để lại chỉ dẫn này cho hồ bơi thứ cấp của bạn.
Select the first pool you created previously and select Add Pool. Do the same for the second pool and reorder them if needed. For the purposes of this tutorial, your production website pool would be the first (primary) and the Cloudflare Pages pool would be the second (secondary). * If needed, update the Fallback Pool. For the purposes of this tutorial, you can leave this pointing to your secondary pool.
ជ្រើសរើសបណ្តាញដំបូងដែលអ្នកបានបង្កើតមុនហើយជ្រើស Add Pool ។ ធ្វើដូច្នេះដូច្នេះសម្រាប់ថ្នាំកូតទីពីរនិងដំណើរការវានៅពេលដែលវាមានតម្រូវការ។ សម្រាប់គោលបំណងនៃការបណ្តុះបណ្តាលនេះ, កុំព្យូទ័រទំព័រផលិតកម្មរបស់អ្នកនឹងជាលើកដំបូង (primary) និងកុំព្យូទ័រ Cloudflare Pages នឹងជាទីពីរ (secondary). * ប្រសិនបើចាំបាច់ធ្វើឱ្យប្រសើរឡើង Fallback Pool ។ សម្រាប់គោលបំណងនៃការបណ្តុះបណ្តាលនេះអ្នកអាចផ្លាស់ប្តូរការបណ្តុះបណ្តាលនេះទៅក្នុងការបណ្តុះបណ្តាលរបស់អ្នក។
  1. Trên trang Monitors, xem xét các màn hình gắn với hồ bơi của bạn và tình trạng sức khỏe dự kiến, và chọn Next.
  2. Trên trang Traffic Steering, hãy chắc chắn rằng Off được chọn. Điều này có nghĩa là load balancer sẽ tuân theo thứ tự được thiết lập trên phần Add a Pool (Bước 3 ở trên), đạt được cấu hình Active - Passive Failover.
  3. Đối với mục đích của hướng dẫn này, hãy để tùy chọn Custom Rules trống.
  4. Trên trang Review, xem lại cấu hình của bạn và chọn Save as Draft.
  1. On the Monitors page, review the monitors attached to your pools and the expected health status, and select Next.
  2. On the Traffic Steering page, make sure Off is selected. This means the load balancer will follow the order established on the Add a Pool section (Step 3 above), achieving an Active - Passive Failover configuration.
  3. For the purposes of this tutorial, leave the Custom Rules option empty.
  4. On the Review page, review your configuration and select Save as Draft.
  1. នៅលើទំព័រ Monitors សូមពិនិត្យមើលការត្រួតពិនិត្យដែលបំពាក់ទៅនឹងថ្មរបស់អ្នកនិងស្ថានភាពសុខភាពដែលគួរឱ្យចាប់ផ្តើមហើយជ្រើស Next ។
  2. នៅលើទំព័រ Traffic Steering សូមបញ្ជាក់ថា Off ត្រូវបានជ្រើសរើស។ នេះមានន័យថា load balancer នឹងធ្វើដូចម្តេចដែលបានបង្កើតឡើងនៅលើផ្នែក Add a Pool (ដំណោះស្រាយទី 3 នៅខាងលើ) ដើម្បីទទួលបានការកំណត់ Active - Passive Failover ។
  3. សម្រាប់គោលបំណងនៃវគ្គបណ្តុះបណ្តាលនេះ, អនុញ្ញាតឱ្យតម្រូវការ Custom Rules ស្អាត។
  4. នៅលើទំព័រ Review សូមពិនិត្យមើលការកំណត់របស់អ្នកនិងជ្រើស Save as Draft ។
Một DNS bản ghi của loại LB sẽ được tạo dưới DNS \> Records ↗ với tên máy chủ bạn đã xác định, và một load balancer tương ứng sẽ được thêm vào Load Balancing ↗
A DNS record of the type LB will be created under DNS \> Records ↗ with the hostname you have defined, and a corresponding load balancer will be added to Load Balancing ↗
សៀវភៅ DNS នៃប្រភេទ LB នឹងត្រូវបានបង្កើតឡើងនៅក្រោម DNS \> Records ↗ ជាមួយនឹងឈ្មោះក្រុមហ៊ុនផ្គត់ផ្គង់ដែលអ្នកបានកំណត់ហើយ load balancer នឹងត្រូវបានបន្ថែមទៅ Load Balancing ↗ ។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Tùy chọn - Deploy on a test hostname Optional - Deploy on a test hostname សៀវភៅអ៊ីនធឺណិត - Deploy on a test hostname

Phần «Optional - Deploy on test hostname» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Optional - Deploy on a test hostname" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «សៀវភៅអ៊ីនធឺណិត - Deploy on a test hostname» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Nếu bạn đã sử dụng tên máy chủ tạm thời cho load balancer của mình, hãy làm theo các bước dưới đây để triển khai và kiểm tra nó.
If you have used a temporary hostname for your load balancer, follow the steps below to deploy and test it.
ប្រសិនបើអ្នកបានប្រើឈ្មោះក្រុមហ៊ុនផ្គត់ផ្គង់ទូទៅសម្រាប់ load balancer របស់អ្នក, សូមអនុវត្តជំហានខាងក្រោមដើម្បីដំឡើងនិងធ្វើតេស្តវា។
  1. Trong bảng điều khiển Cloudflare, đi đến trang Load Balancing.
  1. In the Cloudflare dashboard, go to the Load Balancing page.
  1. ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Load Balancing ។
  1. Trong danh sách Load Balancers, hãy tìm load balancer mà bạn đã tạo dưới tên máy chủ thử nghiệm (chẳng hạn như lb) và bật nó.
  2. Trong trình duyệt của bạn, yêu cầu tên máy chủ tạm thời (lb.example.com). Bạn nên xem trang web hoặc ứng dụng được lưu trữ trên máy chủ nguồn chính của bạn.
  3. Quay trở lại danh sách Manage Load Balancers, chọn để mở rộng thử nghiệm load balancer, và vô hiệu hóa nhóm chính.
  4. Trong một cửa sổ ẩn danh mới của trình duyệt của bạn, yêu cầu tên máy chủ tạm thời một lần nữa. Bạn nên xem trang web hoặc ứng dụng được lưu trữ trên máy chủ nguồn thứ cấp của bạn lần này.
  1. In the Load Balancers list, locate the load balancer you created under a test hostname (such as lb) and enable it.
  2. On your browser, request the temporary hostname (lb.example.com). You should see the website or application hosted at your primary origin server.
  3. Go back to the Manage Load Balancers list, select to expand the test load balancer, and disable the primary pool.
  4. On a new incognito window of your browser, request the temporary hostname once again. You should see the website or application hosted at your secondary origin server this time.
  1. នៅលើគណនី Load Balancers សូមរកឃើញគណនី load balancer ដែលអ្នកបានបង្កើតនៅក្រោមគណនីប្រព័ន្ធប្រតិបត្តិការសាកល្បង (ដូចជា lb) និងអនុញ្ញាតវា។
  2. នៅលើប្រព័ន្ធប្រតិបត្តិការរបស់អ្នក, សូមស្វែងរកឈ្មោះក្រុមហ៊ុនផ្គត់ផ្គង់ទូទៅ (lb.example.com). អ្នកគួរតែមើលគេហទំព័រឬកម្មវិធីដែលមានទីតាំងស្ថិតនៅលើសេវាកម្មដើមដំបូងរបស់អ្នក។
  3. សូមចូលទៅក្នុងគណនី Manage Load Balancers ដើម្បីពង្រីកការធ្វើតេស្ត load balancer ។
  4. នៅលើបង្វិល incognito ថ្មីរបស់អ្នកទាញយកឈ្មោះហ្គេមអ៊ីនធឺណិត។ អ្នកគួរតែមើលគេហទំព័រឬកម្មវិធីដែលត្រូវបានគេហទំព័រនៅលើផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែករបស់អ្នកពេលនេះ។
Nếu bạn tìm thấy vấn đề, hãy xem lại hồ bơi, màn hình và load balancer cấu hình của bạn để xác nhận rằng họ đã làm theo các hướng dẫn ở trên. Cũng tham khảo Troubleshooting hoặc FAQ nếu cần.
If you find issues, revise your pools, monitor, and load balancer configurations to confirm they followed the instructions above. Also refer to Troubleshooting or FAQ if needed.
ប្រសិនបើអ្នករកឃើញបញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ហាសម្រាប់បញ្ សូមពិនិត្យមើល Troubleshooting ឬ FAQ ប្រសិនបើត្រូវការ។
quan trọng
Important
សំខាន់
Sau khi bạn xác nhận mọi thứ đang hoạt động đúng, hãy đảm bảo bạn kích hoạt lại các pool trong load balancer.
After you confirm everything is working correctly, make sure you re-enable the pools within the load balancer.
បន្ទាប់ពីអ្នកបានបញ្ជាក់ថាមានអ្វីគ្រប់យ៉ាងដែលធ្វើការយ៉ាងត្រឹមត្រូវ, សូមធ្វើឱ្យប្រាកដថាអ្នកធ្វើឱ្យប្រាកដដោយប្រាកដថាអ្នកធ្វើឱ្យប្រាកដថាមានប្រាកដក្នុងការ load balancer ។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Đường dẫn giao thông sản xuất đến load balancer Route production traffic to load balancer ការដឹកជញ្ជូនផលិតកម្មទៅ load balancer

Phần «Route production traffic to load balancer» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Route production traffic to load balancer" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការដឹកជញ្ជូនផលិតកម្មទៅ load balancer» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Bây giờ bạn đã thiết lập load balancer và xác minh mọi thứ đang hoạt động đúng, bạn có thể đặt load balancer trên một miền trực tiếp hoặc tên miền con:
Now that you have set up your load balancer and verified everything is working correctly, you can put the load balancer on a live domain or subdomain:
ឥឡូវនេះដែលអ្នកបានកំណត់ load balancer របស់អ្នកហើយបានត្រួតពិនិត្យថាមពលទាំងអស់ដែលធ្វើការត្រឹមត្រូវអ្នកអាចដាក់ load balancer នៅលើទីផ្សារផ្ទាល់ឬទីផ្សារ subdomain:
  1. Xác nhận rằng tên máy chủ sản xuất của bạn có priority order chính xác của DNS bản ghi và được bao phủ bởi một SSL/TLS certificate.
  1. Confirm that your production hostname has the correct priority order of DNS records and is covered by an SSL/TLS certificate.
  1. សូមបញ្ជាក់ថាតើឈ្មោះក្រុមហ៊ុនផលិតផលរបស់អ្នកមាន priority order ដែលត្រឹមត្រូវនៃ DNS សៀវភៅនិងត្រូវបានបំពាក់ដោយ SSL/TLS certificate ។
Nếu bạn có tài khoản Enterprise, cũng đánh giá ứng dụng của bạn cho bất kỳ con đường bị loại trừ. Ví dụ, bạn có thể không muốn load balancer để phân phối các yêu cầu được chuyển đến con đường /admin của bạn. Đối với bất kỳ ngoại lệ nào, hãy thiết lập Origin rule.
If you have an Enterprise account, also evaluate your application for any excluded paths. For example, you might not want the load balancer to distribute requests directed at your /admin path. For any exceptions, set up an Origin rule.
ប្រសិនបើអ្នកមានអ៊ីនធឺណិតអ៊ីនធឺណិតអ៊ីនធឺណិតអ៊ីនធឺណិតអ៊ីនធឺណិតអ៊ីនធឺណិតអ៊ីនធឺណិតអ៊ីនធឺណិតអ៊ីនធឺណិត ឧទាហរណ៍អ្នកអាចមិនចង់ load balancer ដើម្បីផ្លាស់ប្តូរសំណួរដែលត្រូវបានផ្លាស់ប្តូរទៅ /admin របស់អ្នក។ សម្រាប់ការពិនិត្យឡើងវិញគោលបំណងរបស់អ្នក, សូមបង្កើត Origin rule ។
  1. Cài đặt load balancer để nhận lưu lượng sản xuất bằng cách chỉnh sửa Hostname của load balancer hiện có của bạn.
  1. Configure your load balancer to receive production traffic by editing the Hostname of your existing load balancer.
  1. ការកំណត់ load balancer របស់អ្នកដើម្បីទទួលបានការដឹកជញ្ជូនផលិតកម្មដោយធ្វើតេស្ត Hostname នៃ load balancer របស់អ្នកដែលមាន។
json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/load-balancing/","name":"Load Balancing"}},{"@type":"ListItem","position":3,"item":{"@id":"/load-balancing/pools/","name":"Pools"}},{"@type":"ListItem","position":4,"item":{"@id":"/load-balancing/pools/cloudflare-pages-origin/","name":"Use Pages as an origin for Load Balancing"}}]}

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Xem bản đầy đủ trên developers.cloudflare.com (ảnh, tab cấu hình). View the full guide on developers.cloudflare.com (images, config tabs). មើលមគ្គុទ្ទេសក៍ពេញលើ developers.cloudflare.com (រូបភាព, tab កំណត់)។

Tài liệu gốc ↗ Official docs ↗ ឯកសារផ្លូវការ ↗