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

View File

@ -20,6 +20,10 @@ server {
access_log off; 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 { location = /.well-known/carddav {
return 301 https://$host/remote.php/dav; return 301 https://$host/remote.php/dav;
} }