mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-24 18:42:09 +02:00
docs/api-env-variables: add tunnel rate limit envs
This commit is contained in:
parent
0ae0bbfa1f
commit
a2d12ce82f
@ -34,6 +34,8 @@ this document is not final and will expand over time. feel free to improve it!
|
|||||||
| RATELIMIT_MAX | `20` | `30` |
|
| RATELIMIT_MAX | `20` | `30` |
|
||||||
| SESSION_RATELIMIT_WINDOW | `60` | `60` |
|
| SESSION_RATELIMIT_WINDOW | `60` | `60` |
|
||||||
| SESSION_RATELIMIT | `10` | `10` |
|
| SESSION_RATELIMIT | `10` | `10` |
|
||||||
|
| TUNNEL_RATELIMIT_WINDOW | `60` | `60` |
|
||||||
|
| TUNNEL_RATELIMIT | `40` | `10` |
|
||||||
|
|
||||||
[*view details*](#limits)
|
[*view details*](#limits)
|
||||||
|
|
||||||
@ -170,6 +172,16 @@ amount of session requests to be allowed within the time window of `SESSION_RATE
|
|||||||
|
|
||||||
the value is a number.
|
the value is a number.
|
||||||
|
|
||||||
|
### TUNNEL_RATELIMIT_WINDOW
|
||||||
|
rate limit time window for tunnel (proxy/stream) requests, in **seconds**.
|
||||||
|
|
||||||
|
the value is a number.
|
||||||
|
|
||||||
|
### TUNNEL_RATELIMIT
|
||||||
|
amount of tunnel requests to be allowed within the time window of `TUNNEL_RATELIMIT_WINDOW`.
|
||||||
|
|
||||||
|
the value is a number.
|
||||||
|
|
||||||
## security
|
## security
|
||||||
[*jump to the table*](#security-vars)
|
[*jump to the table*](#security-vars)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user