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 កំណត់។
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 កំណត់។
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 កំណត់។
- Có quen thuộc với Cloudflare Load Balancing components.
- Chủ sở hữu một tên miền và sử dụng Cloudflare như một primary DNS provider.
- Có deployed a website or application với Cloudflare Pages.
- Có enabled Load Balancing trong tài khoản của bạn.
- Are familiar with the Cloudflare Load Balancing components.
- Own a domain and use Cloudflare as a primary DNS provider.
- Have deployed a website or application with Cloudflare Pages.
- Have enabled Load Balancing in your account.
- សូមអរគុណជាមួយ Cloudflare Load Balancing components ។
- ទាញយកអាសយដ្ឋានរបស់អ្នកនិងប្រើ Cloudflare ដូចជា primary DNS provider ។
- មាន deployed a website or application ជាមួយ Cloudflare Pages ។
- មាន enabled Load Balancing នៅលើគណនីរបស់អ្នក។
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 កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến trang Load Balancing.
- In the Cloudflare dashboard, go to the Load Balancing page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Load Balancing ។
- Chọn tab Monitors và sau đó chọn Create monitor.
- 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:
- Select the Monitors tab and then Create monitor.
- Give the monitor a descriptive name and confirm the other fields are filled in as the following:
- សូមចុច Monitors និងបន្ទាប់មក Create monitor ។
- សូមផ្តល់ឈ្មោះសៀវភៅសម្រាប់ម៉ាស៊ីនត្រួតពិនិត្យនិងអនុញ្ញាតឱ្យកន្លែងផ្សេងទៀតត្រូវបានបញ្ចប់ដូចខាងក្រោម:
- Trong Advanced health check settings, giữ các giá trị mặc định và bật tùy chọn Follow Redirects.
- Under Advanced health check settings, keep the default values and enable the Follow Redirects option.
- នៅក្រោម Advanced health check settings, រក្សាទុកតម្លៃទូទៅនិងអនុញ្ញាតតំណាង Follow Redirects ។
301).301 code, for example).301 code, for example).HTTP - 200 - Follow RedirectsHTTP - 200 - Follow Redirects.HTTP - 200 - Follow Redirects ។- Chọn Save để xác nhận.
- Select Save to confirm.
- ចុច 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 កំណត់។
<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.<project>.pages.dev) for it to resolve correctly. You can find a reference table for correct setup in Step 8 below.<project>.pages.dev) ដើម្បីដោះស្រាយវាយ៉ាងត្រឹមត្រូវ។ អ្នកអាចរកឃើញថ្នាំបង្ហាញសម្រាប់ការដំឡើងត្រឹមត្រូវនៅក្នុងដំណាក់កាលទី 8 នៅខាងក្រោម។- Trong bảng điều khiển Cloudflare, đi đến trang Load Balancing.
- In the Cloudflare dashboard, go to the Load Balancing page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Load Balancing ។
- Chọn tab Pools và sau đó chọn Create monitor.
- Đối với hồ bơi đầu tiên, bắt đầu bằng cách điền vào các trường:
- Select the Pools tab and then Create monitor.
- For the first pool, start by filling out the fields:
- សូមចុច Pools និងបន្ទាប់មក Create monitor ។
- សម្រាប់ការដំបូង, ចាប់ផ្តើមដោយការបញ្ចប់ឧបករណ៍:
- 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
- Để 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.
- Thêm máy chủ nguồn của bạn làm điểm cuối với thông tin sau:
- 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.
- Add your origin server as an endpoint with the following information:
- ជម្រើសសម្រាប់ Endpoint Steering ដូច្នេះ។ ប្រសិនបើប្រព័ន្ធគ្រប់គ្រងទាំងអស់នឹងមានបញ្ចប់មួយប៉ុណ្ណោះ, ប្រព័ន្ធគ្រប់គ្រងនេះនឹងមិនជួសជុលនៅក្នុងករណីនេះ។
- បន្ថែមប្រព័ន្ធប្រតិបត្តិការអ៊ីនធឺណិតរបស់អ្នកជាកន្លែងបញ្ចប់ជាមួយនឹងព័ត៌មានដូចខាងក្រោម:
- 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 ឬឈ្មោះក្រុមហ៊ុនផលិត។
- Đ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 ។
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.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.example.pages.dev) ហើយបន្ទាប់មកកំណត់តម្រូវការ custom domain (my-app.com) អ្នកនឹងត្រូវការបន្ថែមកំណត់ហេតុបណ្ដាញរបស់អ្នកដើម្បីគ្មានការបញ្ចប់តម្រូវការសុខភាព។- Hoàn thành cấu hình hồ bơi đầu tiên với thông tin sau:
- Finish configuring the first pool with the following information:
- បានបញ្ចប់ការកំណត់កុំព្យូទ័រដំបូងជាមួយនឹងព័ត៌មានដូចខាងក្រោម:
- Để 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 ដែលគួរផ្ញើសំណួរសម្រាប់ម៉ាស៊ីនបញ្ជាដើម្បីធ្វើតេស្តសុខភាពនៃបញ្ចប់។
- Chọn Save
- Lặp lại quy trình cho nhóm thứ hai bằng cách sử dụng các giá trị sau:
- Select Save
- Repeat the process for the second pool using the following values:
- ជម្រើស Save
- ការធ្វើដំណើរការនេះធ្វើឱ្យប្រសិនបើអ្នកកំពុងធ្វើដំណើរការសម្រាប់ក្រុមហ៊ុនទីពីរដែលមានគុណភាពដូចខាងក្រោម:
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 កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến trang Load Balancing.
- In the Cloudflare dashboard, go to the Load Balancing page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Load Balancing ។
- Đi đến Pools tab.
- 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. - 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.
- Go to the Pools tab.
- Find the pools you created in the list and check if their status is
Healthy. You might have to refresh the page. - Expand each pool entry to confirm that the health status for endpoints within them is also
Healthy.
- សូមចូលទៅក្នុង Pools ។
- សូមស្វែងរកក្រុមហ៊ុនដែលអ្នកបានបង្កើតនៅក្នុងសៀវភៅនិងពិនិត្យមើលថាតើគោលដៅរបស់ពួកគេគឺ
Healthy។ តើអ្នកអាចធ្វើឱ្យទំព័រនេះមានកម្រិតខ្ពស់។ - ការពង្រីកទីផ្សារមួយដើម្បីបញ្ជាក់ថាតើសុខភាពនៃទីផ្សារខាងក្នុងរបស់ពួកគេគឺជា
Healthy។
200 dưới dạng phản hồi HTTP.200 code as HTTP response.200 ដូចជាការឆ្លើយតប HTTP ។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 កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến trang Load Balancing.
- In the Cloudflare dashboard, go to the Load Balancing page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Load Balancing ។
- Chọn Create load balancer
- Trên trang Hostname, cấu hình sau đây và chọn Next.
- Select Create load balancer.
- On the Hostname page, configure the following and select Next.
- សូមជ្រើស Create load balancer ។
- នៅលើទំព័រ Hostname បានកំណត់ដូចខាងក្រោមនិងជ្រើស Next ។
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.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.lb (ដូច្នេះតម្លៃបណ្តាញពេញលេញនឹងមើលទៅជា lb.<your_domain>) ។ បង្ហោះអេឡិចត្រូនិខិតខិតខិតខិតដើម្បីបច្ចុប្បន្នភាព proxy mode ដែលមានប្រសិទ្ធិភាពអំពីរបៀបដំណើរការត្រូវបានដំណើរការនិងអាសយដ្ឋាន IP ដែលត្រូវបានអនុម័ត។ * ជ្រើសជម្រើសដែលអ្នកចង់សម្រាប់ session affinity និង adaptive routing ។- Trên trang Add a Pool, cấu hình sau đây và chọn Next.
- On the Add a Pool page, configure the following and select Next.
- នៅលើទំព័រ Add a Pool បានកំណត់ដូចខាងក្រោមនិងជ្រើស Next ។
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.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.primary) និងកុំព្យូទ័រ Cloudflare Pages នឹងជាទីពីរ (secondary). * ប្រសិនបើចាំបាច់ធ្វើឱ្យប្រសើរឡើង Fallback Pool ។ សម្រាប់គោលបំណងនៃការបណ្តុះបណ្តាលនេះអ្នកអាចផ្លាស់ប្តូរការបណ្តុះបណ្តាលនេះទៅក្នុងការបណ្តុះបណ្តាលរបស់អ្នក។- 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.
- 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.
- Đối với mục đích của hướng dẫn này, hãy để tùy chọn Custom Rules trống.
- Trên trang Review, xem lại cấu hình của bạn và chọn Save as Draft.
- On the Monitors page, review the monitors attached to your pools and the expected health status, and select Next.
- 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.
- For the purposes of this tutorial, leave the Custom Rules option empty.
- On the Review page, review your configuration and select Save as Draft.
- នៅលើទំព័រ Monitors សូមពិនិត្យមើលការត្រួតពិនិត្យដែលបំពាក់ទៅនឹងថ្មរបស់អ្នកនិងស្ថានភាពសុខភាពដែលគួរឱ្យចាប់ផ្តើមហើយជ្រើស Next ។
- នៅលើទំព័រ Traffic Steering សូមបញ្ជាក់ថា Off ត្រូវបានជ្រើសរើស។ នេះមានន័យថា load balancer នឹងធ្វើដូចម្តេចដែលបានបង្កើតឡើងនៅលើផ្នែក Add a Pool (ដំណោះស្រាយទី 3 នៅខាងលើ) ដើម្បីទទួលបានការកំណត់ Active - Passive Failover ។
- សម្រាប់គោលបំណងនៃវគ្គបណ្តុះបណ្តាលនេះ, អនុញ្ញាតឱ្យតម្រូវការ Custom Rules ស្អាត។
- នៅលើទំព័រ Review សូមពិនិត្យមើលការកំណត់របស់អ្នកនិងជ្រើស Save as Draft ។
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 ↗LB will be created under DNS \> Records ↗ with the hostname you have defined, and a corresponding load balancer will be added to Load Balancing ↗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 កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến trang Load Balancing.
- In the Cloudflare dashboard, go to the Load Balancing page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Load Balancing ។
- 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ó. - 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. - 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.
- 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.
- In the Load Balancers list, locate the load balancer you created under a test hostname (such as
lb) and enable it. - On your browser, request the temporary hostname (
lb.example.com). You should see the website or application hosted at your primary origin server. - Go back to the Manage Load Balancers list, select to expand the test load balancer, and disable the primary pool.
- 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.
- នៅលើគណនី Load Balancers សូមរកឃើញគណនី load balancer ដែលអ្នកបានបង្កើតនៅក្រោមគណនីប្រព័ន្ធប្រតិបត្តិការសាកល្បង (ដូចជា
lb) និងអនុញ្ញាតវា។ - នៅលើប្រព័ន្ធប្រតិបត្តិការរបស់អ្នក, សូមស្វែងរកឈ្មោះក្រុមហ៊ុនផ្គត់ផ្គង់ទូទៅ (
lb.example.com). អ្នកគួរតែមើលគេហទំព័រឬកម្មវិធីដែលមានទីតាំងស្ថិតនៅលើសេវាកម្មដើមដំបូងរបស់អ្នក។ - សូមចូលទៅក្នុងគណនី Manage Load Balancers ដើម្បីពង្រីកការធ្វើតេស្ត load balancer ។
- នៅលើបង្វិល incognito ថ្មីរបស់អ្នកទាញយកឈ្មោះហ្គេមអ៊ីនធឺណិត។ អ្នកគួរតែមើលគេហទំព័រឬកម្មវិធីដែលត្រូវបានគេហទំព័រនៅលើផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែករបស់អ្នកពេលនេះ។
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 កំណត់។
- 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.
- Confirm that your production hostname has the correct priority order of DNS records and is covered by an SSL/TLS certificate.
- សូមបញ្ជាក់ថាតើឈ្មោះក្រុមហ៊ុនផលិតផលរបស់អ្នកមាន priority order ដែលត្រឹមត្រូវនៃ DNS សៀវភៅនិងត្រូវបានបំពាក់ដោយ SSL/TLS certificate ។
/admin của bạn. Đối với bất kỳ ngoại lệ nào, hãy thiết lập Origin rule./admin path. For any exceptions, set up an Origin rule./admin របស់អ្នក។ សម្រាប់ការពិនិត្យឡើងវិញគោលបំណងរបស់អ្នក, សូមបង្កើត Origin rule ។- 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.
- Configure your load balancer to receive production traffic by editing the Hostname of your existing load balancer.
- ការកំណត់ load balancer របស់អ្នកដើម្បីទទួលបានការដឹកជញ្ជូនផលិតកម្មដោយធ្វើតេស្ត Hostname នៃ load balancer របស់អ្នកដែលមាន។
{"@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 ↗ ឯកសារផ្លូវការ ↗