Skip to content

Comments

Fix rate limiter to use real client IP behind Caddy proxy#19

Merged
louije merged 2 commits intomainfrom
claude/fix-rate-limit-proxy-iWtxU
Dec 28, 2025
Merged

Fix rate limiter to use real client IP behind Caddy proxy#19
louije merged 2 commits intomainfrom
claude/fix-rate-limit-proxy-iWtxU

Conversation

@louije
Copy link
Owner

@louije louije commented Dec 28, 2025

Set Express 'trust proxy' to 1 so rate limiter reads client IP from
X-Forwarded-For header instead of seeing all requests as 127.0.0.1.

Set Express 'trust proxy' to 1 so rate limiter reads client IP from
X-Forwarded-For header instead of seeing all requests as 127.0.0.1.
- API: 500 → 100 requests per 15 min
- Uploads: 200 → 30 per hour
@netlify
Copy link

netlify bot commented Dec 28, 2025

Deploy Preview for maisonsdoggo canceled.

Name Link
🔨 Latest commit 623768d
🔍 Latest deploy log https://app.netlify.com/projects/maisonsdoggo/deploys/69513a5dc23e000008f95385

@louije louije merged commit 198f7aa into main Dec 28, 2025
5 checks passed
@louije louije deleted the claude/fix-rate-limit-proxy-iWtxU branch December 28, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants