Skip to content

docs(admin): document all four well-known URL redirects#14910

Open
skjnldsv wants to merge 1 commit into
masterfrom
fix/well-known-webfinger-nodeinfo
Open

docs(admin): document all four well-known URL redirects#14910
skjnldsv wants to merge 1 commit into
masterfrom
fix/well-known-webfinger-nodeinfo

Conversation

@skjnldsv
Copy link
Copy Markdown
Member

@skjnldsv skjnldsv commented May 19, 2026

☑️ Resolves

Summary

The security setup warnings page only documented /.well-known/caldav and
/.well-known/carddav. Nextcloud also emits warnings for /.well-known/webfinger
and /.well-known/nodeinfo when those redirects are missing. Admins following the
help link from those warnings arrived at a page that didn't mention them at all.

Changes:

  • Updated the section heading to be generic ("well-known/ URLs")
  • Listed all four redirects with their target paths and purpose
  • Added a brief explanation distinguishing DAV service discovery from WebFinger/NodeInfo

The rewrite rules themselves are already documented in general_troubleshooting.rst;
this PR only fixes the warning page that users land on first.

🖼️ Screenshots

image

✅ Checklist

  • I have built the documentation locally and reviewed the output
  • Screenshots are included for visual changes
  • I have not moved or renamed pages (or added a redirect if I did)
  • I have run codespell or similar and addressed any spelling issues

The security setup warnings page only listed /.well-known/caldav and
/.well-known/carddav. Nextcloud also requires /.well-known/webfinger and
/.well-known/nodeinfo to be redirected for federation and server metadata
to work correctly. Admins seeing warnings about these URLs were directed
to docs that didn't mention them.

Updated the section to list all four required well-known redirects with
their target paths and a brief description of each.

Fixes #6885

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

📖 Documentation Preview

🔍 Open preview →

📄 1 changed documentation page

Last updated: Tue, 19 May 2026 10:58:03 GMT

Comment on lines +125 to +126
* ``/.well-known/webfinger`` → ``/index.php/.well-known/webfinger`` (identity/federation)
* ``/.well-known/nodeinfo`` → ``/index.php/.well-known/nodeinfo`` (server metadata)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks wrong, there shouldn't be a redirect here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean we should have a redirect for that nodeinfo thing ?
I found this in the server code 🤔
https://github.com/nextcloud/server/blob/926cecba3c3924acbc3fec5573dc808119ec27f8/apps/settings/lib/SetupChecks/WellKnownUrls.php#L52

@skjnldsv
Copy link
Copy Markdown
Member Author

Added some groupware team members as this also touch some groupware endpoints

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Manual does not list all well-known-URLs

2 participants