From d16a274d70fb6cb2da5a7e3c382d2a98f689ed2b Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Wed, 6 Jul 2022 20:09:45 +0200 Subject: [PATCH] fix(nextcloud): change nginx redirect options to not add port to query (#3085) * fix(nextcloud): change nginx redirect options to not add port to query * add two more low-level patches * bump chart version --- charts/stable/nextcloud/Chart.yaml | 2 +- charts/stable/nextcloud/values.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/stable/nextcloud/Chart.yaml b/charts/stable/nextcloud/Chart.yaml index f4ad8e22855..355f8f2d3cc 100644 --- a/charts/stable/nextcloud/Chart.yaml +++ b/charts/stable/nextcloud/Chart.yaml @@ -33,7 +33,7 @@ sources: - https://github.com/nextcloud/docker - https://github.com/nextcloud/helm type: application -version: 15.0.0 +version: 15.0.1 annotations: truecharts.org/catagories: | - cloud diff --git a/charts/stable/nextcloud/values.yaml b/charts/stable/nextcloud/values.yaml index 293e13f9629..cbabba2cbc8 100644 --- a/charts/stable/nextcloud/values.yaml +++ b/charts/stable/nextcloud/values.yaml @@ -206,6 +206,7 @@ configmap: server { listen 8080; + absolute_redirect off; # Forward Notify_Push "High Performance Backend" to it's own container location ^~ /push/ { @@ -292,6 +293,10 @@ configmap: location = /.well-known/carddav { return 301 /remote.php/dav/; } location = /.well-known/caldav { return 301 /remote.php/dav/; } + # according to the documentation these two lines are not necessary, but some users are still recieving errors + location = /.well-known/webfinger { return 301 /index.php$uri; } + location = /.well-known/nodeinfo { return 301 /index.php$uri; } + location /.well-known/acme-challenge { try_files $uri $uri/ =404; } location /.well-known/pki-validation { try_files $uri $uri/ =404; }