Update configuration reference and add new changelogs to docs

This commit is contained in:
mrjvs
2023-12-20 19:27:18 +01:00
parent 8eb6c218b9
commit 0d0c83ae90
4 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
title: 'Configuration'
---
# Proxy Config Reference
The environment variables for the proxy is different to adjust per platform. So we will only be listed the variables themselves, it's your job to figure out to apply them to your platform.
# Reference
### `TURNSTILE_SECRET`
Turnstile secret key from the cloudflare dashboard. To enable turnstile completely you will also need `JWT_SECRET` configured.
If you want turnstile verification working correctly, you will also need to configure the turnstile key on the client, not just on the proxy.
### `JWT_SECRET`
A jwt secret key. **Must be 32 characters long.** Can be any random secret.

View File

@@ -0,0 +1,15 @@
---
title: 'Changelog'
---
# Version 2.1.0
- Added turnstile integration to secure your workers from abuse.
# Version 2.0.1
- bugfix where sometimes body would double read
- bugfix where sometimes no response would be given at all due to race condition
# Version 2.0.0
- full rewrite, now supports multiple platforms: nodejs, cloudflare, aws lambda
- standard proxy headers are no longer sent through. Which now doesn't send a client ip through anymore.