Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.36 KB

File metadata and controls

35 lines (24 loc) · 1.36 KB

Cloudflare Turnstile setup

The purpose of this guide is to show how to configure the production domain in Vercel and the Cloudflare Turnstile service.

  1. Go to the project in Vercel, then Settings/Domains step1

  2. Fill in your domain and click Add. step2

  3. Note the table values, To use in the next step. step3

  4. Go to the domain management panel, where you or your team has the domain registered, and then DNS Settings. And add a new CNAME record. Fill up with the values from the previous step. Name -> Host and Value -> Value . step4 step4b step4c

  5. Go back to the project in Settings/Vercel Domains and wait for it to look like this. step5

  6. In your Cloudflare dashboard. Go to Turnstile and fill it in as follows. step6

  7. Click on create and copy the sitekey step7

  8. Go to the project on Vercel, then Settings / Environment variables and update the variable NEXT_PUBLIC_CLOUDFLARE_TURNSTILE_SITE_KEY step8

  9. Go to Deployments and click on the three points of the last deployment and then click on redeploy. step9

That's it, the produccion domain and the Cloudfare Human Verification is ready now. 🎉