Closed vodanet closed 4 months ago
If found a solution. Thanks
Please post your solution so others can learn :)
Ran into the same issue and figured I'd post my solution here. Note that I'm running bare metal with MetalLB configured for BGP and Ingress-NGINX.
I made several changes so I can't say specifically if all were required, but they were as follows:
Solution to The reverse proxy header configuration is incorrect.
values.yaml
was here:controller:
config:
use-forwarded-headers: "true"
service:
externalTrafficPolicy: Local
Solution to Accessing site insecurely via HTTP.
Simply set the value of phpClientHttpsFix.enabled
to true
Hopefully this helps anyone else who might stumble across this.
nextcloud helm chart: nextcloud-5.2.0 Kubernetes: RKE2
Hello,
I have an RKE2 cluster and the Helm Chart installed. I use NGINX ingress controller (rke2).
nextcloud.domain.de can be accessed via https with a valid Let'sEncrypt certificate.
This is my Values.Yaml for Ingress:
this is my Config.php:
In the admin area I see (among other things) these two red errors: The reverse proxy header configuration is incorrect. This is a security issue and can allow an attacker to spoof their IP address as visible to the Nextcloud. For more details see the documentation ↗. Accessing site insecurely via HTTP. You are strongly advised to set up your server to require HTTPS instead. Without it some important web functionality like "copy to clipboard" or "service workers" will not work! For more details see the documentation ↗.
I had:
The IP of the ingress controller has already been added -> without any change.
What else do I need to adjust?
Many thanks for the help! Daniel