Pages
import { TabItem, Tabs, DashButton } from "~/components";
The following sections describe how to configure Cloudflare Pages with Regional Services and Customer Metadata Boundary to control where your Pages project is processed and where logs are stored.
Regional Services
To configure Regional Services for hostnames proxied (meaning traffic routes through Cloudflare) through Cloudflare and ensure that processing of a Pages project occurs only in-region, follow these steps for the dashboard or API configuration:
-
In the Cloudflare dashboard, go to the Workers & Pages page.
-
Select your Pages project.
-
Follow these steps to create a Custom Domain.
-
Go to the DNS of the zone you configured the Custom Domain for.
-
From the Region dropdown, select the region you would like to use on your domain.
-
Select Save.
- Use the API POST command to add a Custom Domain to a Pages project.
- Run the API POST command on the Pages Custom Domain to create a
regional_hostnameswith a specific Region.
:::note
Regional Services only applies to the Custom Domain configured for a Pages project.
:::
Customer Metadata Boundary
Customer Metadata Boundary applies to the Custom Domain configured, as well as the *.pages.dev subdomain. You also have the option to disable access to the .dev domain.
For information on available Analytics and Metrics, review the Cloudflare product compatibility page.
It is recommended not to store any Personally Identifiable Information (PII) in the Pages project's static assets.
:::note
Page Functions are implemented as Cloudflare Workers. Refer to the Workers section for more information.
:::
Refer to the Pages documentation for more information.
谢谢你的反馈!