add some shit to conduit, it should apparently work better (thanks evan :3)

This commit is contained in:
jacekpoz 2023-07-21 17:54:42 +02:00
parent dcca4a57f0
commit 9367fcb152

View file

@ -21,6 +21,10 @@
enable = true;
virtualHosts."m.jacekpoz.pl".extraConfig = ''
reverse_proxy /_matrix/* localhost:6167
header /.well-known/matrix/* Content-Type application/json
header /.well-known/matrix/* Access-Control-Allow-Origin *
respond /.well-known/matrix/server `{"m.server": "m.jacekpoz.pl:443"}`
respond /.well-known/matrix/client `{"m.homeserver":{"base_url":"https://m.jacekpoz.pl"}}`
'';
virtualHosts."jacekpoz.pl:8448".extraConfig = ''
reverse_proxy /_matrix/* localhost:6167