fix(gateway): enforce request body size limits
This commit is contained in:
@@ -686,6 +686,15 @@ server:
|
||||
|
||||
The web UI detects the locked state and disables auto-reconnect when rejected.
|
||||
|
||||
## Gateway Request Body Limit
|
||||
|
||||
Cap inbound HTTP POST body size (webhooks and Gmail push) to reduce memory-DoS risk.
|
||||
|
||||
```yaml
|
||||
server:
|
||||
max_request_body_bytes: 1048576 # 1 MiB
|
||||
```
|
||||
|
||||
## Tailscale Serve
|
||||
|
||||
Automatically expose the gateway via Tailscale Serve when the daemon starts. Requires Tailscale to be installed and authenticated on the host.
|
||||
|
||||
Reference in New Issue
Block a user