Skip to main content

Setup

Setup

1. Clone reverse-proxy Github Repo

npx thind@latest proxy --init
note

If you see any error, please make sure you have Node.js installed on your system.

2 Login to Cloudflare

npx wrangler login

3. Setup Reverse Proxy

npx thind@latest proxy --setup
note

This command will start a questionnaire to setup reverse proxy. Answer the questions and CLi will build a configuration file for Cloudflare workers.

tip

Make sure the domain you specify in the questionnaire is already added to your Cloudflare account and is not being used by any other worker or is not configured in DNS.

4. Deploy Reverse Proxy

npx thind@latest proxy --deploy

This command will deploy the reverse proxy to Cloudflare workers and configure the domain to point to the worker along with routes for your proxy.