Adds basic skeleton INSTALL.md file

This commit is contained in:
BinaryAlley committed 2024-11-13 19:05:07 +02:00
1 parent bf090cf307
commit 72ddabe457
2 files changed
+28

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
## Reverse Proxy Setup
### Rate Limiting Headers
The application uses IP-based rate limiting on some endpoints. When deploying behind a reverse proxy, you must forward the
original client IP, otherwise the "per IP" rate limiting will become global, per any request aimed at those endpoints, regardless of origin:
```text
# Nginx
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# Apache
RemoteIPHeader X-Forwarded-For
# Caddy
reverse_proxy {
header_up X-Forwarded-For {remote_host}
}
```