docs: Make [global.well-known] a ubiquitous soft-requirement and defaults to 443 #2528

Open
opened 2026-11-14 18:13:31 +00:00 by stratself · 3 comments
Member

What new feature do you want to see? What problem does it solve?

Gonna be consistent recommend everyone to set their CONTINUWUITY_WELL_KNOWN now, in both the generic and docker pages. They will both point to the example.com domain on port 443:

server_name = "example.com"
[global.well_known]
client = "https://example.com"
server = "example.com:443"

Currently, well-known is not set nor mentioned heavily in the default recommendations.

The delegation docs will use the following split-domain setup, as usual:

server_name = "example.com"
[global.well_known]
client = "https://matrix.example.com"
server = "matrix.example.com:443"

It will also be rewritten a bit to explain stuff in a more holistic manner rather than just "use matrix.example.com for your delegated domain!!". Will also include the default 443/8448 scenario. Reverse proxy configs will be changed accordingly.

This change is made because:

  • Makes everything expose on a single 443 port (cool and good)
  • Probably helps with federation load (less DNS requests and more efficient lookups)
  • Client well-known is already soft-required for OAuth to work (well it defaults to the correct spot when nothing's set, but still)
  • People shucks at Matrix for being hard-to-host. Well that's one less port for you

This issue is opened to solicit opinions. Are there any breaking changes that may occur as a result of this? Any potential disagreements on default ports and the approach being taken here? All comments suggestions appreciated.

Further reading

No response

Additional context

Previously, Docker examples were inconsistent due to many contributors. 493de65c0f in #1594 attempted to fix it by listing well_knowns for Traefik composes and no well_knowns for Caddy ones. This is to align it with the generic docs' no well-known config and Caddy example. This still likely creates friction in explaining .well-known to newbies, so it's best to let them set it first and tell them to change it later.

### What new feature do you want to see? What problem does it solve? Gonna be consistent recommend everyone to set their `CONTINUWUITY_WELL_KNOWN` now, in both the [generic](https://continuwuity.org/deploying/generic#creating-the-continuwuity-configuration-file) and [docker](https://continuwuity.org/deploying/docker#prerequisites) pages. They will both point to the `example.com` domain on port 443: ``` server_name = "example.com" [global.well_known] client = "https://example.com" server = "example.com:443" ``` Currently, well-known is not set nor mentioned heavily in the default recommendations. The [delegation docs](https://continuwuity.org/guides/delegation) will use the following split-domain setup, as usual: ``` server_name = "example.com" [global.well_known] client = "https://matrix.example.com" server = "matrix.example.com:443" ``` It will also be rewritten a bit to explain stuff in a more holistic manner rather than just "use matrix.example.com for your delegated domain!!". Will also include the default 443/8448 scenario. Reverse proxy configs will be changed accordingly. This change is made because: - Makes everything expose on a single 443 port (cool and good) - Probably helps with federation load (less DNS requests and more efficient lookups) - Client well-known is already soft-required for OAuth to work (well it defaults to the correct spot when nothing's set, but still) - People shucks at Matrix for being hard-to-host. Well that's one less port for you This issue is opened to solicit opinions. Are there any breaking changes that may occur as a result of this? Any potential disagreements on default ports and the approach being taken here? All comments suggestions appreciated. ### Further reading _No response_ ### Additional context Previously, Docker examples were inconsistent due to many contributors. 493de65c0f in #1594 attempted to fix it by listing well_knowns for Traefik composes and no well_knowns for Caddy ones. This is to align it with the generic docs' no well-known config and [Caddy example](https://continuwuity.org/deploying/generic#caddy). This still likely creates friction in explaining `.well-known` to newbies, so it's best to let them set it first and tell them to change it later.
stratself added this to the 26.11.0 milestone 2026-11-14 18:15:56 +00:00
Owner

Duplicate of #2116

Duplicate of #2116
Author
Member

Relates #2116 not dupe. This includes the server well-known and other justifications

Relates #2116 not dupe. This includes the server well-known and other justifications
Owner

Server well known should never default or be required considering SRV delegation & fallback port exists

Server well known should never default or be required considering SRV delegation & fallback port exists
nex removed this from the 26.11.0 milestone 2026-11-15 17:52:15 +00:00
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
continuwuation/continuwuity#2528
No description provided.