-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Desired Behavior
Unit 1.25 includes support for X-Forwarded-For (nginx/unit#132). Purely selfishly this would help me fix netbox-community/netbox-chart#46.
Contrast to Current Behavior
The current base image is Alpine 3.14 with Unit 1.23.
Required Changes
This could be achieved by updating the base image to Alpine 3.15 but @cimnine says (in #654 (comment)) that the preferred approach it to update to a Debian base image (see #604) which should do the job just as well.
Discussion: Benefits and Drawbacks
Enabling X-Forwarded-For would allow NetBox to see (and the Unit logs to display) correct client IPs when going via a reverse proxy, which is almost universally the case in Kubernetes.
Metadata
Metadata
Assignees
Labels
No labels