pstream is dead; long live pstream
taciturnaxolotl.github.io/pstream-ng/
1---
2title: 'Configuration'
3---
4
5# Proxy Config Reference
6
7Adding environment variables is different for every platform, [here's a guide on how to add environment variables on Cloudflare](https://developers.cloudflare.com/workers/configuration/environment-variables/#add-environment-variables-via-the-dashboard). You'll have to do some research on your own if you aren't hosting the proxy on Cloudflare.
8
9# Reference
10
11### `TURNSTILE_SECRET`
12
13- Type: `string`
14- Default: `""`
15
16Turnstile secret key from the [Cloudflare dashboard](https://dash.cloudflare.com/sign-up?to=/:account/turnstile).
17
18<Warning>
19 Keep in mind that you will also need to [configure the Turnstile key on the
20 client](../client/configuration.mdx#vite-turnstile-key) and **configure the
21 [`JWT_SECRET`](#jwt-secret) below.**
22</Warning>
23
24### `JWT_SECRET`
25
26- Type: `string`
27- Default: `""`
28
29A [JWT](https://jwt.io/) secret key. This can be any random secret, but **must be 32 characters long.**