Skip to content

Conversation

@nscuro
Copy link
Member

@nscuro nscuro commented Oct 23, 2023

Description

This is a regression introduced in #427.

The original NGINX image has a mechanism to enable IPv6 when it's available: https://github.com/nginxinc/docker-nginx-unprivileged/blob/1.25.2/entrypoint/10-listen-on-ipv6-by-default.sh

However, that mechanism is disabled when the default.conf file was modified (which we did).

This commit copies the entrypoint script from the base image, and modifies it, to make it work with our custom default.conf.

Fixes #427 (comment)

Note
Needs to be backported to the 4.9.x branch.

Addressed Issue

N/A

Additional Details

N/A

Checklist

This is a regression introduced in DependencyTrack#427.

The original NGINX image has a mechanism to enable IPv6 when it's available: https://github.com/nginxinc/docker-nginx-unprivileged/blob/1.25.2/entrypoint/10-listen-on-ipv6-by-default.sh

 However, that mechanism is disabled when the `default.conf` file was modified (which we did).

 This commit copies the entrypoint script from the base image, and modifies it, to make it work with our custom `default.conf`.

 Fixes DependencyTrack#427 (comment)

Signed-off-by: nscuro <nscuro@protonmail.com>
@nscuro nscuro added the defect Something isn't working label Oct 23, 2023
@nscuro nscuro added this to the 4.10 milestone Oct 23, 2023
@nscuro nscuro mentioned this pull request Oct 23, 2023
1 task
@nscuro nscuro merged commit 0ab41b6 into DependencyTrack:master Oct 23, 2023
@nscuro nscuro deleted the fix-ipv4-only-deployment branch October 23, 2023 20:22
@rissson rissson mentioned this pull request Oct 14, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

defect Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant