Skip to content

IPv6 enabler in /docker-entrypoint.d is brokenΒ #453

@telmich

Description

@telmich

Bug Overview

The script does this in the end:

enable ipv6 on default.conf listen sockets

sed -i -E 's,listen 80;,listen 80;\n listen [::]:80;,' /$DEFAULT_CONF_FILE

However, in the default.conf there is no listen directive at all and thus nothing is being replaced.

What in needs to do is a) check if there is a listener and b) if there isn't, add listen [::]:80; to it

Expected Behavior

Enable IPv6

Steps to Reproduce the Bug

Start the container image ghcr.io/nginxinc/nginx-s3-gateway/nginx-oss-s3-gateway:latest

Environment Details

any

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions