mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Merge pull request #1024 from nextcloud/nginx/webfinger_rewrite_rule
/.well-known/webfinger nginx rule for Social app
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user