-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Your web server is not properly set up to resolve "/.well-known/caldav" or "/.well-known/carddav" #559
Comments
No, please include this. Without the values it is way harder to debug and the issue might be in your values. |
Sure thing, I've added a redacted version of my values.yaml. But just to emphasize my earlier point: I have described the root cause in "Additional context, if any" section. Unless I'm completely misunderstanding things, hopefully that proves my values.yaml is not relevant. |
The problem is very likely that you didn't specify |
Sorry, I'm confused. That setting affects urls generated by the nextcloud php application, right? What I'm talking about here are redirects generated by apache or nginx. IIUC, there's no php code involved in this at all. |
This sounds like it's Nextcloud and not the webserver? Please check where the redirect originates from. |
Sorry, that was confusing. I've edited it to say "This results in apache/nginx giving me redirects back to"
For the nginx flavor, this redirect comes from the |
Describe your Issue
After installing the helm chart, I see warnings like this on
/settings/admin/overview
:Logs and Errors
In my browser console, I see the following errors:
Describe your Environment
Kubernetes distribution: k3s
Helm Version (or App that manages helm): Pulumi 3.108.1
Helm Chart Version: 4.6.6
values.yaml
:Additional context, if any
The issue here is that my ingress (traefik) terminates https, and then initiates a http connection to my nextcloud service. This results in apache/nginx giving me redirects back to a http url, which my webbrowser refuses to follow thanks to the Content Security Policy (see above logs from my browser console). For example note how this https request gets a redirect to a http url:
This happens to me with both the apache and nginx flavors. Ideally, nextcloud could be configured to trust the
X-Forwarded-Proto
header. For example, in nginx, the fix would be to change this redirect to use the$http_x_forwarded_proto
variable:The text was updated successfully, but these errors were encountered: