Skip to content

Update Unit to 1.25 or higher #654

@bootc

Description

@bootc

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions