Skip to content

Add support for NO_NGINX_IPV6 env variable#75

Open
Bojan023 wants to merge 14 commits intogutmensch:masterfrom
Bojan023:master
Open

Add support for NO_NGINX_IPV6 env variable#75
Bojan023 wants to merge 14 commits intogutmensch:masterfrom
Bojan023:master

Conversation

@Bojan023
Copy link

@Bojan023 Bojan023 commented Aug 10, 2025

As per issue #68, on hosts with IPv6 disabled nginx will crash. This PR fixes this bug by adding support to force nginx to only listen to IPv4 by setting the env variable NO_NGINX_IPV6. If it is not set, Bash automatically ignores the conditional statement and skips it. Therefore, this PR should be transparant to current deployments.

@Bojan023
Copy link
Author

Apparently there is still a bug, I'm looking into it :)

@Bojan023
Copy link
Author

Bojan023 commented Aug 10, 2025

All good now, works as expected!

I also needed to add perl-net-ssleay in 8547f92 and perl-io-socket-ssl in 3bde469 to get rid of this error:

Can't locate IO/Socket/SSL.pm in @INC (you may need to install the IO::Socket::SSL module)

EDIT: still a bug, see below

@Bojan023
Copy link
Author

Bojan023 commented Aug 10, 2025

Unfortunately I encounter this error which doesn't make sense given the current Dockerfile where XML::Simple is being installed:

Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /usr/bin/dmarcts-report-parser.pl line 69.

Any suggestions on how to fix this?

do not delete expat-dev to find XML-simple error
@Bojan023
Copy link
Author

Bojan023 commented Nov 8, 2025

Fixed, works as intended now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants