Closed Stolz closed 1 year ago
This is a known issue, you can mount our nginx config after disabling IPV6, is one solution. To make this process runtime we need a shell script, that check the status and provide a configuration that works.
Some deployments Only have IPV6 Other with Only IPV4 Most of them have both IPV4 and IPV6
Currently I am not good at writing shell script. So for now, modify the config and mount it. If someone can help me with shell script, then please open a PR.
Need a shell script like this
By default copy the current config with IPV4 and IPV6, Check that IP status if IPV4 only -> Copy IPV4-Only.Config , if IPV6 Only - > Copy IPV6 Only.Config and delete default config with IPV4 and IPV6.
I opened https://github.com/openspeedtest/Docker-Image/pull/2 which is a really basic entrypoint to check for ip v4 or v6 and remove them from the nginx config
My system does not support IPv6, only IPv4. It seems the Nginx config has a
listen
directive with IPv6 address hardcoded, which prevents the container from starting:Is there any way to provide the bind address on run time?