15 lines
405 B
Plaintext
15 lines
405 B
Plaintext
|
location /_matrix {
|
||
|
proxy_pass http://0.0.0.0:8008;
|
||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||
|
}
|
||
|
|
||
|
location /.well-known/matrix/server {
|
||
|
default_type application/json;
|
||
|
return 200 '{"m.server": "matrix.data.coop:443"}';
|
||
|
}
|
||
|
|
||
|
location /.well-known/matrix/client {
|
||
|
default_type application/json;
|
||
|
return 200 '{"m.homeserver": {"base_url": "https://matrix.data.coop"}}';
|
||
|
}
|