Merge pull request #16 from waja/service_discovery

Add missing service discovery in nginx config
This commit is contained in:
hoellen 2018-12-13 17:27:53 +01:00 committed by GitHub
commit 0d1c2cc723
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,10 @@ server {
access_log off;
}
rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last;
rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
location = /.well-known/carddav {
return 301 https://$host/remote.php/dav;
}