Skip to content

Commit

Permalink
Nextcloud: update WebDAV URL redirects for subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
h9419 authored Apr 28, 2024
1 parent 0877269 commit 1ab1126
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nextcloud.subfolder.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2024/04/25
## Version 2024/04/28
# make sure that your nextcloud container is named nextcloud
# make sure that nextcloud is set to work with the base url /nextcloud/
# Assuming this container is called "swag", edit your nextcloud container's config
Expand Down Expand Up @@ -48,4 +48,8 @@ location ^~ /nextcloud/ {

# Disable proxy buffering
proxy_buffering off;

# Nextcloud's redirect for these two `/.well-known` URIs in version 29 did not consider overwritewebroot
location = /nextcloud/.well-known/carddav { return 301 /nextcloud/remote.php/dav/; }
location = /nextcloud/.well-known/caldav { return 301 /nextcloud/remote.php/dav/; }
}

0 comments on commit 1ab1126

Please sign in to comment.