From c4407c0c7c00d649b0020997d88bfa91df3f7ad4 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 29 Jul 2021 22:21:30 +0200 Subject: [PATCH] [nextcloud] for fastcgi, paths need to be correct Easiest way: have nginx and nextcloud container with same webroot --- apps/nextcloud/nginx/default.conf | 2 +- apps/nextcloud/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/nextcloud/nginx/default.conf b/apps/nextcloud/nginx/default.conf index 1e9d2e3..d31ce23 100644 --- a/apps/nextcloud/nginx/default.conf +++ b/apps/nextcloud/nginx/default.conf @@ -49,7 +49,7 @@ server { fastcgi_hide_header X-Powered-By; # Path to the root of your installation - root /var/www/nextcloud; + root /var/www/html; # Specify how to handle directories -- specifying `/index.php$request_uri` # here as the fallback means that Nginx always exhibits the desired behaviour diff --git a/apps/nextcloud/templates/deployment.yaml b/apps/nextcloud/templates/deployment.yaml index 5e60f8d..93be8d0 100644 --- a/apps/nextcloud/templates/deployment.yaml +++ b/apps/nextcloud/templates/deployment.yaml @@ -80,7 +80,7 @@ spec: - name: etcletsencrypt mountPath: "/etc/letsencrypt" - name: nextcloud-data - mountPath: "/var/www/nextcloud" + mountPath: "/var/www/html" - name: nextcloud image: nextcloud:20.0.11-fpm ports: