Env Var behind Proxy for X-Real-IP (Ratelimit and logging) #19

Closed
opened 2025-10-15 21:53:54 +00:00 by cf7 · 2 comments
Owner

If behind proxy, the real-ip is being ignored. Need to check why

If behind proxy, the real-ip is being ignored. Need to check why
cf7 added the
Kind/Bug
Priority
Medium
labels 2025-10-15 21:54:10 +00:00
Author
Owner

Maybe add option for proxy

Maybe add option for proxy
Author
Owner
  • Will use the X-REAL-IP header by default and fall back to the other IP.
  • removed some dup from rate-limit and logging feature
  • added a bigger information to the README that a reverse-proxy is needed to use certain features

And just for the protocol: without proxy, any client can spoof X-REAL-IP headers - logging and rate-limited are almost useless wtihout it

- Will use the X-REAL-IP header by default and fall back to the other IP. - removed some dup from rate-limit and logging feature - added a bigger information to the README that a reverse-proxy is needed to use certain features And just for the protocol: without proxy, any client can spoof X-REAL-IP headers - logging and rate-limited are almost useless wtihout it
cf7 closed this issue 2025-10-16 00:09:53 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cf7/linedump#19
No description provided.