Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextcloud: update WebDAV URL redirects for subfolder #673

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/; }
}