forked from poz/niksos
add some shit to conduit, it should apparently work better (thanks evan :3)
This commit is contained in:
parent
dcca4a57f0
commit
9367fcb152
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue