Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 647 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 647 Bytes

pyrox

Proxy that runs on Cloudflare Workers.

Setup

  1. Install wrangler2. npm install wrangler.
  2. Generate a public Ed25519 key, exported under SPKI mode with PEM formatting. Should look like this:
-----BEGIN PUBLIC KEY-----
MCowBQYDK2VwAyEAzOWQ2fB4o1cNL8aBEz3EHdUQc9RlqVs+k4BMq/F5his=
-----END PUBLIC KEY-----
  1. Set the inside (MCowBQYDK2VwAyEAzOWQ2fB4o1cNL8aBEz3EHdUQc9RlqVs+k4BMq/F5his=) as the PUBLIC_KEY secret. npx wrangler secret put PUBLIC_KEY, responding to the prompt with the public key.
  2. Edit wrangler.toml to have an up to date routes key.
  3. Deploy! npx wrangler publish.