docs: document endpoint rate limits and fail2ban alert log

This commit is contained in:
Oliver 2026-02-15 13:48:34 +01:00
parent e5324edddf
commit 94cac9f467
No known key found for this signature in database
2 changed files with 18 additions and 0 deletions

View file

@ -44,6 +44,20 @@ location /api/ {
}
```
Endpoint-spezifisch (empfohlen):
```nginx
location = /api/spot/signal {
limit_req zone=staysense_signal burst=3 nodelay;
proxy_pass http://127.0.0.1:8787/spot/signal;
}
location /api/spot/score {
limit_req zone=staysense_score burst=25 nodelay;
proxy_pass http://127.0.0.1:8787/spot/score;
}
```
## Security Header (empfohlen)
```nginx