docs: document endpoint rate limits and fail2ban alert log
This commit is contained in:
parent
e5324edddf
commit
94cac9f467
2 changed files with 18 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue