Merge pull request #1291 from nextcloud/backport/1280/stable15

[stable15] change nginx-config for subdir to resolve /ocm-provider properly
This commit is contained in:
Morris Jobke 2019-03-04 13:49:42 +01:00 committed by GitHub
commit 29eb0cd8af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -255,6 +255,10 @@ your nginx installation.
location = /.well-known/caldav {
return 301 $scheme://$host/nextcloud/remote.php/dav;
}
location ~ ^\/(?:ocm-provider|ocs-provider).* {
rewrite ^ /nextcloud$request_uri;
}
location /.well-known/acme-challenge { }