Include .well-known in builds for Matrix federation #31

Closed
opened 2020-06-27 22:47:10 +00:00 by kawaiipunk · 7 comments
Owner

I'm trying to enable federation for our new Matrix server but I need to include .well-known as described in this README.

So I got everything setup as described but I can't get it to show up. I even checked with this Matrix Federation test.

Maybe I am missing something. Any ideas?

I'm not super familar with Jekyll and it seems super hard to find anything Jekyll specific. I followed the tips in this article about including .well-know.

I'm trying to enable federation for our new Matrix server but I need to include .well-known as [described in this README](https://github.com/matrix-org/synapse/blob/master/docs/delegate.md). So I got everything setup as described but [I can't get it to show up](https://autonomic.zone/.well-known/matrix/server). I even checked with this [Matrix Federation test](https://federationtester.matrix.org/#autonomic.zone). Maybe I am missing something. Any ideas? I'm not super familar with Jekyll and it seems super hard to find anything Jekyll specific. I followed the tips in [this article about including .well-know](https://josh.st/2015/10/22/jekyll-well-known-and-dotfiles/).
kawaiipunk changed title from Include .well-known in builds to Include .well-known in builds for Matrix federation 2020-06-27 22:47:33 +00:00
Author
Owner
I also found [this monster Github thread](https://github.com/keybase/keybase-issues/issues/366).
Author
Owner

I added a .nojekyll file in 3ae5a6e803

No change though. Signing out for the night.

I added a `.nojekyll` file in https://git.autonomic.zone/autonomic-cooperative/autonomic.zone/commit/3ae5a6e80338b9d676dd581c74625da4c97bea88 No change though. Signing out for the night.
Owner
Tried https://git.autonomic.zone/autonomic-cooperative/autonomic.zone/commit/b3bed6d48eb9ac53bbc68fa5e4361b1966e392ad, no luck ;) Maybe https://github.com/keybase/keybase-issues/issues/366#issuecomment-39044580?
Author
Owner

My friend from fedi said: "Return the well-known straight from Nginx, so it is agnostic from the static site".

This sounds like a pretty excellent idea if we weren't using docker. Do you know a simple way of doing it?

My friend from fedi said: "Return the well-known straight from Nginx, so it is agnostic from the static site". This sounds like a pretty excellent idea if we weren't using docker. Do you know a simple way of doing it?
Owner

Argh, what a pain. Yeah, I know how to do this now. We need to wire up an nginx container that tells traefik to match /.well-known/ on our main domain name. I'll get that out shortly.

Refs:

(PS. It'd be rad to be able to use nginx AND traefik because avoiding all these docker related hacks would be wonderful. But I can't see how that is possible without having to manage some weird configuration that we'll forget how it works really fast. Open to ideas though...)

Argh, what a pain. Yeah, I know how to do this now. We need to wire up an nginx container that tells traefik to match /.well-known/ on our main domain name. I'll get that out shortly. Refs: - https://jonnev.se/matrix-homeserver-synapse-v0-99-1-1-with-traefik/ - https://docs.traefik.io/routing/routers/#rule (PS. It'd be rad to be able to use nginx AND traefik because avoiding all these docker related hacks would be wonderful. But I can't see how that is possible without having to manage some weird configuration that we'll forget how it works really fast. Open to ideas though...)
Owner
We're ripping! > https://git.autonomic.zone/autonomic-cooperative/well-known-uris > https://federationtester.matrix.org/#autonomic.zone
Author
Owner

This is done done. Working.

This is done done. Working.
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
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: autonomic-cooperative/autonomic.zone#31
No description provided.