Update README.md
Signed-off-by: xengi <cccb-git@xengi.de>
This commit is contained in:
parent
736aa3a9ef
commit
3e6830369c
1 changed files with 2 additions and 2 deletions
|
|
@ -11,12 +11,12 @@ Configure `berlin.ccc.de` web server to send federation traffic to the matrix se
|
||||||
```nginx
|
```nginx
|
||||||
server {
|
server {
|
||||||
hostname berlin.ccc.de;
|
hostname berlin.ccc.de;
|
||||||
location "/.well-known/matrix/server" {
|
location = /.well-known/matrix/server {
|
||||||
default_type application/json;
|
default_type application/json;
|
||||||
add_header Access-Control-Allow-Origin "*";
|
add_header Access-Control-Allow-Origin "*";
|
||||||
return 200 '{"m.server":"matrix.berlin.ccc.de:443"}';
|
return 200 '{"m.server":"matrix.berlin.ccc.de:443"}';
|
||||||
}
|
}
|
||||||
location "/.well-known/matrix/client" {
|
location = /.well-known/matrix/client {
|
||||||
default_type application/json;
|
default_type application/json;
|
||||||
add_header Access-Control-Allow-Origin "*";
|
add_header Access-Control-Allow-Origin "*";
|
||||||
return 200 '{"m.homeserver": {"base_url": "https://matrix.berlin.ccc.de"}}';
|
return 200 '{"m.homeserver": {"base_url": "https://matrix.berlin.ccc.de"}}';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue