Skip to content

Fix DISABLE_IPV6 flag handling #2335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 20, 2022

Conversation

czocher
Copy link
Contributor

@czocher czocher commented Oct 20, 2022

The DISABLE_IPV6 flag did not turn off ipv6 DNS requests performed by nginx. This commit changes it and makes nginx-proxy-manager more compatible with podman.

Related to bug #2333.

The DISABLE_IPV6 flag did not turn off ipv6 DNS requests performed by
nginx. This commit changes it and makes nginx-proxy-manager more
compatible with podman.
@jc21
Copy link
Member

jc21 commented Oct 20, 2022

The build was successful but wasn't able to leave a comment. This was built and tagged with:

jc21/nginx-proxy-manager:github-pr-2335

Please test and see how you go

@czocher
Copy link
Contributor Author

czocher commented Oct 20, 2022

Thanks for the quick response, gonna test it later today and notify you about my results.

@czocher
Copy link
Contributor Author

czocher commented Oct 20, 2022

Tested the PR with both settings - with DISABLE_IPV6=true and without. The problem stops appearing as soon as DISABLE_IPV6 is enabled. The resolvers.conf is edited correctly:

  • When DISABLE_IPV6='true' the ipv6=off appears in the resolvers.conf,
  • When DISABLE_IPV6 is not provided, ipv6=off does not appear in resolvers.conf.

To summarize: this PR works correctly according to my tests and can be merged.

@jc21 jc21 merged commit 5070499 into NginxProxyManager:develop Oct 20, 2022
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