This commit is contained in:
XenGi 2025-11-24 19:37:52 +01:00
parent 7597938a1e
commit 9dd5d2ef2e
Signed by: xengi
SSH key fingerprint: SHA256:FGp51kRvGOcWnTHiOI39ImwVO4A3fpvR30nPX3LpV7g
11 changed files with 503 additions and 38 deletions

35
README.md Normal file
View file

@ -0,0 +1,35 @@
# HTTP
Configure `berlin.ccc.de` web server to send federation traffic to the matrix server:
```nginx
server {
hostname berlin.ccc.de;
location "/.well-known/matrix/server" {
default_type application/json;
return 200 '{"m.server":"matrix.berlin.ccc.de:443"}';
}
}
```
# DNS
```
_matrix-fed._tcp.matrix.berlin.ccc.de. IN SRV 10 0 443 matrix.berlin.ccc.de.
#_matrix._tcp.matrix.berlin.ccc.de. IN SRV 10 0 443 matrix.berlin.ccc.de.
#_matrix._tcp.berlin.ccc.de. IN SRV 10 0 443 matrix.berlin.ccc.de.
_matrix-fed._tcp.berlin.ccc.de. IN SRV 10 0 443 matrix.berlin.ccc.de.
matrix.berlin.ccc.de. IN A <IPv4>
matrix.berlin.ccc.de. IN AAAA <IPv6>
```
# Bots
```bash
register_new_matrix_user \
-c homeserver.yaml https://matrix.berlin.ccc.de \
--user_domain berlin.ccc.de \
--user <YOUR_BOT> \
--password <YOUR_PASSWORD>
```