/.well-known/webfinger nginx rule for Social app

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
This commit is contained in:
Jonas Sulzer
2018-12-08 00:36:13 +01:00
parent dc7cb30766
commit c3d9bcc40e

View File

@@ -94,6 +94,10 @@ webroot of your nginx installation. In this example it is
#rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
# last;
# The following rule is only needed for the Social app.
# Uncomment it if you're planning to use this app.
# rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
@@ -243,6 +247,10 @@ your nginx installation.
#rewrite ^/.well-known/host-meta.json
# /nextcloud/public.php?service=host-meta-json last;
# The following rule is only needed for the Social app.
# Uncomment it if you're planning to use this app.
# rewrite ^/.well-known/webfinger /nextcloud/public.php?service=webfinger last;
location = /.well-known/carddav {
return 301 $scheme://$host/nextcloud/remote.php/dav;
}