[nextcloud] for fastcgi, paths need to be correct

Easiest way: have nginx and nextcloud container with same webroot
This commit is contained in:
Nico Schottelius 2021-07-29 22:21:30 +02:00
parent 97b0332ac3
commit c4407c0c7c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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: