Skip to content
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

[FEAT] Variable to disable ipv6 #11

Closed
1 task done
broizter opened this issue Aug 22, 2024 · 4 comments
Closed
1 task done

[FEAT] Variable to disable ipv6 #11

broizter opened this issue Aug 22, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@broizter
Copy link

Is this a new feature request?

  • I have searched the existing issues

Wanted change

I wan't an environment variable to disable IPV6 in nginx.

Reason for change

If you have ipv6 disabled on the host the container won't start because nginx tries to bind to ipv4 and ipv6.

Proposed code change

No response

@broizter broizter added the enhancement New feature or request label Aug 22, 2024
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@broizter
Copy link
Author

It's possible to bind a nginx configuration file to override this behaviour so it's possible to workaround it although it would be better to set it at container creation via a environment variable.

@Roxedus
Copy link
Member

Roxedus commented Aug 22, 2024

You can use the unsupported (and thus undocumented) variable DISABLE_IPV6 to disable ipv6

@Roxedus Roxedus closed this as not planned Won't fix, can't repro, duplicate, stale Aug 22, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Aug 22, 2024
@broizter
Copy link
Author

Ah! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants