[nextcloud] for fastcgi, paths need to be correct
Easiest way: have nginx and nextcloud container with same webroot
This commit is contained in:
parent
97b0332ac3
commit
c4407c0c7c
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue