Support Reverse Proxies #24

Open
opened 2024-01-16 03:03:08 +01:00 by june · 0 comments
Owner

We're running spaceapid behind a reverse proxy and all incoming requests get logged as 127.0.0.1 by spaceapid. It would be nice, if spaceapid would support reverse proxies, so that the correct IP address gets logged.

Supporting the following header, as well as an option to set trusted proxies (with maybe a sensible default of machine local IPs), should suffice: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For

We're running spaceapid behind a reverse proxy and all incoming requests get logged as 127.0.0.1 by spaceapid. It would be nice, if spaceapid would support reverse proxies, so that the correct IP address gets logged. Supporting the following header, as well as an option to set trusted proxies (with maybe a sensible default of machine local IPs), should suffice: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For
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: CCCHH/spaceapid#24
No description provided.