Merge pull request #1024 from nextcloud/nginx/webfinger_rewrite_rule

/.well-known/webfinger nginx rule for Social app
This commit is contained in:
violoncelloch
2018-12-08 12:28:21 +01:00
committed by GitHub

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;
}