fixed federation

This commit is contained in:
Matthias
2019-07-03 17:26:59 +02:00
parent ad1d4b3c4a
commit 84eb87eb0b
6 changed files with 24 additions and 15 deletions

View File

@@ -5,17 +5,16 @@ server {
server_name _;
# required, else the limit is 1mb
client_max_body_size 20M;
# location /_matrix {
# proxy_pass http://localhost:8448;
# proxy_set_header X-Forwarded-For $remote_addr;
# }
client_max_body_size 200M;
location / {
proxy_pass http://localhost:8008;
proxy_set_header X-Forwarded-For $remote_addr;
}
}
location /.well-known/matrix/server {
return 200 '{"m.server": "$host:443"}';
add_header Content-Type application/json;
}
}