GitXplorerGitXplorer
t

mauliasproxy

public
23 stars
2 forks
3 issues

Commits

List of commits on branch master.
Unverified
fe77ae68fad839d4ce772691e5811dbc8d213795

Update comment in config

ttulir committed 2 years ago
Unverified
9bfe8eccfc86e24ac5ea741d2a9751ed068ba1ee

Add support for getting signing key from env

ttulir committed 2 years ago
Unverified
543bd95f58d1bce50f90ad214c7e4c88ecf39f59

Fix version number

ttulir committed 2 years ago
Unverified
09e798004b0aa94f568f22514687a0784e15bb96

Fix queryKey response format

ttulir committed 2 years ago
Unverified
fe8c28776d5ac1869d484589c81244e1dc4b10da

Fix signatures with dynamic domains

ttulir committed 2 years ago
Unverified
2ab70233b817f03e39eef44ffeddce400c0bbfe6

Implement key server endpoint

ttulir committed 2 years ago

README

The README file for this repository.

Maunium Matrix room alias proxy

This is a simple room alias proxy that can respond to the federation alias query endpoint. The purpose is to allow creating room addresses with vanity domains without having to run a full-blown Matrix homeserver.

Discussion room: #maunium:mau.dev

Setup

You can either build the Go program yourself (just git clone + go build), or use the docker image dock.mau.dev/tulir/mauliasproxy.

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.