No description
  • Go 96%
  • Dockerfile 4%
Find a file
2023-07-02 22:21:05 +00:00
.editorconfig Initial commit 2020-10-21 17:07:42 +03:00
.gitignore ignore the built binary 2023-07-02 22:19:03 +00:00
.gitlab-ci.yml Initial commit 2020-10-21 17:07:42 +03:00
Dockerfile Fix copying mistake 2022-09-11 15:01:21 +03:00
example-config.yaml update instructions and example config 2023-07-02 22:21:05 +00:00
go.mod Add 404 and federation version handlers 2023-06-13 21:52:34 +03:00
go.sum Add 404 and federation version handlers 2023-06-13 21:52:34 +03:00
LICENSE Initial commit 2020-10-21 17:07:42 +03:00
mauliasproxy.go now the software is 100% stupid instead of 0% stupid 2023-07-02 22:18:06 +00:00
README.md update instructions and example config 2023-07-02 22:21:05 +00:00

Not The Maunium Matrix room alias proxy

This is a simple room alias proxy that can respond to the federation alias query endpoint. I don't know the purpose anymore.

Setup

You can either build the Go program yourself (just git clone + go build), or building it in Docker by yourself.

After that, copy example-config.yaml to config.yaml and fill out the details you want. If using Docker, mount the directory with config.yaml at /data.

Finally set up your reverse proxy to proxy /_matrix/federation/v1/query/directory on the alias domains to mauliasproxy.

Optionally, you may also proxy:

  • /.well-known/matrix/server to have mauliasproxy handle delegation to 443.
  • /_matrix/federation/v1/version and /_matrix/key/v2/server to make the federation tester pass.
    • To enable the key server endpoint, fill the server_keys section in the config.
  • /_matrix/federation/* to respond with a proper M_NOT_FOUND code to make old Synapses work.