Support Reverse Proxies #24
Labels
No labels
cat:refactoring
cat:security
cat:tooling
is:breakingChange
is:bug
is:feature
is:idea
is:postponed
res:wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: CCCHH/spaceapid#24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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