Last update at :2024-02-29,Edit by888u
Cloudflare Pages is a new service launched by Cloudflare. It needs to be used with Github. You can use the project to build a picture bed, and Cloudflare also provides personalized second-level domain names. All CDN nodes around the world can help you achieve your goals in mainland China. The speed is high, and the traffic is not limited. Let’s share the registration and usage tutorial with everyone. If you need it, you can pick it up yourself.
Get GitHub’s API
First of all, you need to have a GitHub account. If you don’t have one, register one: www.github.com
Then you need to get an API. If you have created a warehouse, you can get it directly. Get the address: https://github.com/settings/tokens
For the process of opening a position, log in to your account and click the new button.
Choose a name and just click the green button to create it,
Open https://github.com/settings/tokens to get access token
Enter information and select repo
Click the green button directly to get the following information
You need to fork this project: https://github.com/200022xyz/upp
Then edit it yourself, leaving only index.html and static.
Deploy Cloudflare Pages
Log in to Cloudflare, open https://www.cloudflare.com/zh-cn/ and log in, click on the web page.
Then create the project,
Here you need to use your GitHub account to authorize, just click directly, there are no other options.
After completion, you will return to cloudflare. Once here, you can select the second-level domain name, as long as it is not repeated, and then deploy it directly.
The following is the final result
Recommended site searches: registered domain name, Alibaba Cloud server, registration-free CDN, view IP address, query domain name, high-defense server rental, Taiwan proxy server, foreign permanent free server recommendation, Hong Kong server rental, domain name space agency
发表评论