Upgrade to Nextcloud 21

This commit is contained in:
Florian Zirker 2021-05-17 15:10:58 +02:00
parent 636fc78fe5
commit e3151d0942
2 changed files with 12 additions and 16 deletions

View file

@ -28,7 +28,7 @@ services:
- "docker.group=netxtcloud"
app:
image: nextcloud:20-fpm
image: nextcloud:21-fpm
volumes:
- ${VOLUMES_PATH}/nextcloud_html:/var/www/html
- ${VOLUMES_PATH}/nextcloud_data:/var/www/html/data

View file

@ -63,22 +63,18 @@ http {
access_log off;
}
# The following 2 rules are only needed for the user_webfinger app.
# Uncomment it if you're planning to use this app.
#rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last;
# Make a regex exception for `/.well-known` so that clients can still
# access it despite the existence of the regex rule
# `location ~ /(\.|autotest|...)` which would otherwise handle requests
# for `/.well-known`.
location ^~ /.well-known {
location = /.well-known/carddav { return 301 https://$host:443/remote.php/dav; }
location = /.well-known/caldav { return 301 https://$host:443/remote.php/dav; }
# Anything else is dynamically handled by Nextcloud
location ^~ /.well-known { return 301 https://$host:443/index.php$uri; }
# The following rule is only needed for the Social app.
# Uncomment it if you're planning to use this app.
rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
location = /.well-known/carddav {
return 301 https://$host:443/remote.php/dav;
}
location = /.well-known/caldav {
return 301 https://$host:443/remote.php/dav;
}
try_files $uri $uri/ =404;
}
# set max upload size
client_max_body_size 10G;