Skip to content

Commit 7f953ac

Browse files
authored
update nginx-subdir.conf.sample: well-known redirects
Add webfinger and nodeinfo redirects to match apache version.
1 parent 6ba7aa1 commit 7f953ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

admin_manual/installation/nginx-subdir.conf.sample

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ server {
5757
# The rules in this block are an adaptation of the rules
5858
# in the Nextcloud `.htaccess` that concern `/.well-known`.
5959

60+
location = /.well-known/webfinger { return 301 /nextcloud/index.php/.well-known/webfinger; }
61+
location = /.well-known/nodeinfo { return 301 /nextcloud/index.php/.well-known/nodeinfo; }
62+
6063
location = /.well-known/carddav { return 301 /nextcloud/remote.php/dav/; }
6164
location = /.well-known/caldav { return 301 /nextcloud/remote.php/dav/; }
6265

0 commit comments

Comments
 (0)