mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 16:11:10 +00:00
Adds basic skeleton INSTALL.md file
This commit is contained in:
1 parent
bf090cf307
commit
72ddabe457
2 files changed
+28
No files matched your search
@@ -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}
|
||||
}
|
||||
```
|
||||
Reference in new issue
Block a user