Merge pull request #1280 from BernieO/patch-1

change nginx-config for subdir to resolve /ocm-provider properly
This commit is contained in:
Morris Jobke 2019-03-04 13:48:35 +01:00 committed by GitHub
commit df91eb5105
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 { }