mirror of
https://github.com/movie-web/docs.git
synced 2025-09-13 16:43:27 +00:00
Update configuration reference and add new changelogs to docs
This commit is contained in:
16
content/2.proxy/2.configuration.md
Normal file
16
content/2.proxy/2.configuration.md
Normal 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.
|
15
content/2.proxy/3.changelog.md
Normal file
15
content/2.proxy/3.changelog.md
Normal 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.
|
Reference in New Issue
Block a user