Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
update nginx-root.conf.sample well-known redirects
Add webfinger and nodeinfo redirects to match apache version.

Signed-off-by: Andreas Larsen <[email protected]>
  • Loading branch information
Northcode committed Jun 7, 2022
commit 2d10f23fbbe271cde1f1b87e84ec6fd187ae9307
3 changes: 3 additions & 0 deletions admin_manual/installation/nginx-root.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ server {
location ^~ /.well-known {
# The rules in this block are an adaptation of the rules
# in `.htaccess` that concern `/.well-known`.

location = /.well-known/webfinger { return 301 /index.php/.well-known/webfinger; }
location = /.well-known/nodeinfo { return 301 /index.php/.well-known/nodeinfo; }

location = /.well-known/carddav { return 301 /remote.php/dav/; }
location = /.well-known/caldav { return 301 /remote.php/dav/; }
Expand Down