linuxserver / docker-orcaslicer

Web accessible OrcaSlicer inside a Debian Container
GNU General Public License v3.0
36 stars 3 forks source link

[FEAT] Variable to disable ipv6 #11

Closed broizter closed 1 month ago

broizter commented 1 month ago

Is this a new feature request?

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

github-actions[bot] commented 1 month ago

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

broizter commented 1 month ago

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 commented 1 month ago

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

broizter commented 1 month ago

Ah! Thank you!