nginx containerPort confusion #545
Labels
bug
Something isn't working
good first issue
Small tasks with clear documentation about how and in which place you need to fix things in.
nginx container
issues related to the nginx container bundling in the nextcloud pod.
Hello,
I'm trying to setup nextcloud with root-less nginx. So the default nginx port 80 won't work.
Thus I've set
nextcloud.nginx.containerPort
to8080
. This results in probe failures, because the nginx probes still refer to port 80.Having a look at the chart templates, I notice that
nextcloud.nginx.containerPort
is only used for the nginx config, but not when settings up the container in the deployment. The nginx container make use ofnextcloud.nextcloud.containerPort
instead. I would consider this to be a bug.On the other hand, when enabling nginx,
nextcloud.nextcloud.containerPort
is used only for the nginx container, not at all for the nextcloud container. So the simple workaround is to setnextcloud.nginx.containerPort
andnextcloud.nextcloud.containerPort
simultaneaously.Still, I find this confusing. I would either join both variables into one or keep them completely separate -- i.e. the nginx container only uses
nextcloud.nginx.containerPort
, never thenextcloud.nextcloud.containerPort
.Regards,
Carsten
The text was updated successfully, but these errors were encountered: