[Improvement] Streamline .well-known endpoints
We currently set up .well-known endpoints in different places. The /client endpoint is controlled through the well_known_client option, whereas the /server endpoint is configured in the reverse proxy (!531 (closed)) and requires users to fill in base_url.
Possible improvements:
- Add a
well_known_server_route, to be configured similarly via config option. - Since both
well_known_clientandbase_urlare based onserver_name, we can potentially hide these options from the user and set both by prependinghttps://toserver_name(given proxy is already supposed to get TLS).
Any drawbacks that I’m missing here?