Open arphillips06 opened 9 months ago
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#trusted-domains is what you are missing.
How would I apply it? I thought I had done it correctly in my values.yml file? About halfway down the config above.
Ah you are right. Did you deploy again after making the config file changes? Other than that I don't see why the config files wouldn't be present,
Yeah, I tried upgrading the helm install with the file (which I think should have done it) then uninstalled the deployment and chart. Same result both times.
I'm just like you. How's your situation
To be sure this is being set, can you, @arphillips06 or @zhangdeshuai1999, please log into your pod and check the output of:
php occ config:system:get trusted_domains
I'd also be interested to see if trusted_domains.config.php
actually made it into the config dir? I don't see it in the original post with the output listed there 🤔
Also, semi-related, but we recently added a new nextcloud.trustedDomains
helm parameter in 5.4.0
:
https://github.com/nextcloud/helm/releases/tag/nextcloud-5.4.0
Describe your Issue
Get "Access through untrusted domain"
Logs and Errors
Accessing the webpage from either the internal network or externally results in the above error.
Describe your Environment
Kubernetes distribution: k3s
Helm Version (or App that manages helm): 3.14
Helm Chart Version: 4.6.2
values.yaml
:Additional context, if any
I'm using metalLB and I also am using NGINX-ingress that is deployed in this yml.
I checked in the pod by running the below, it seems that the config.php files aren't being made? Though I'm extremely new to Kube in general so could be missing something!