Posted on

Create a Free CORS Proxy Server on Cloudflare

In this  tutorial we will create a free CORS proxy server using Cloudflare workers that will give you up to 100,000 free requests per day.

  1. Create a free account https://www.cloudflare.com
  2. From the main menu go to the workers section
    Cloudflare Workers CORS
  3. Click on the “Create a Service”
  4. Choose the default settings
  5. Open the newly edited service then click the “Quick Edit” button
  6. Replace the JS code with the code in workers.js
  7. Save and deploy then you will end up with a working free CORS proxy server.
  8. From the service “Triggers” tab you will be able to make the server work on any custom domains you manage on Cloudflare like this (https://corsproxy.plentygram.com)
  9. You can for example proxy https://www.example.com as https://corsproxy.plentygram.com/https://www.example.com