Nginx container will not listen on IPv6 #636
Labels
2. developing
Work in progress
nginx container
issues related to the nginx container bundling in the nextcloud pod.
Describe your Issue
I am trying to run the chart on a cluster with IPv6 enabled, but the nextcloud pod never completes because of failed startup probe for the nextcloud-nginx container.
The generated default configuration when nginx is enabled only sets the port to 80 which defaults nginx to listen only on IPv4
Logs and Errors
Describe your Environment
Kubernetes distribution: Talos v1.7.6
FluxCD v2.3.0
Helm Chart Version: 6.0.2
values.yaml
:# paste your values.yaml (anonymize any sensitive data)
Additional context, if any
I just recently switched my cluster from IPv4 to dual-stack. I have had the same issue with other deployment and usually changing the listen address to [::]:80 when using nginx resolves the issue.
Unfortunately, the way the chart generates the default configuration overrides the
/docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
of the nginx:alpine container.I might submit a PR to the chart to try and fix this by adding a new value, something like
nginx.listenAddress
that could be used incharts/nextcloud/files/nginx.config.tpl
with the containerPort value.The text was updated successfully, but these errors were encountered: