I want to deploy nextcloud with helm on a kubernetes cluster (ip: 192.168.178.10). I set the IP as a trusted domain with helm install nextcloud --namespace nextcloud --set nextcloud.host=192.168.178.10 nextcloud/nextcloud
. In the config.php the IP is set as a trusted Domain. But when I try to load the page in firefox , it gets redirected to 192.168.178.10/login
and firefox shows me an error, that the website redirects endless, so it cannot noad. What do I have to do to get nextlcoud working so I can finish setup and login?
http://192.168.178.10/login
and/or https://192.168.178.10/login
is correct. Please post more details. E.g. firefox network analysis or a few screen shots. Do you use TLS/SSL?
I don’t use ssl.
To set up nextlocud I perfomed the following steps:
helm install nextcloud --namespace nextcloud --set nextcloud.host=192.168.178.10 nextcloud/nextcloud
-
kubectl apply -f nextcloud-ingress.yaml
with nextcloud-ingress.yaml:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: nextcloud-ingress
namespace: nextcloud
annotations:
ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- http:
paths:
- path: /
backend:
serviceName: nextcloud
servicePort: 8080
- I tried to load the page in firefox:
- And with curl:
I don’t really get what you mean with network analysis, so if you need it, please tell me how I can post it.
Thank you in advance
Setting a DNS name for the server and telling it nextcloud with the nextcloud.host
value fixed the problem. nextlcoud is now working properly