add caddy

This commit is contained in:
2025-04-16 22:58:22 +02:00
parent 1ac1796f3f
commit 8681cc1d35
4 changed files with 50 additions and 5 deletions
+19 -3
View File
@@ -4,7 +4,7 @@ metadata:
name: synapse-config
data:
homeserver.yaml: |
server_name: "test.legonzaur.fr"
server_name: "matrix.k0rb4k.net"
pid_file: /data/homeserver.pid
listeners:
- port: 8008
@@ -23,12 +23,28 @@ data:
host: postgres
cp_min: 5
cp_max: 10
log_config: "/data/test.legonzaur.fr.log.config"
log_config: "/data/matrix.k0rb4k.net.log.config"
media_store_path: /data/media_store
registration_shared_secret: "8bn6seIG;1#0p9d~Y~d17*~mehlG-@DDJ~W8Yg9r4B,77*D;Uy"
report_stats: true
macaroon_secret_key: "@.fx9y+rL_JSE0;7PPYrBuI&,sa;mXHLeFywLgWlDSg;3faNCx"
form_secret: "qu6DRGb.1H*Pe:tE4r+E~ZvND.UKiIusz~TwOMz,TLVUpX#9vi"
signing_key_path: "/data/test.legonzaur.fr.signing.key"
signing_key_path: "/data/matrix.k0rb4k.net.signing.key"
trusted_key_servers:
- server_name: "matrix.org"
Caddyfile: |
http://localhost {
reverse_proxy /_matrix/* localhost:8008
reverse_proxy /_synapse/client/* localhost:8008
}
http://matrix.k0rb4k.net {
reverse_proxy /_matrix/* localhost:8008
reverse_proxy /_synapse/client/* localhost:8008
}
http://k0rb4k.net:8448 {
reverse_proxy /_matrix/* localhost:8008
}