fixed federation
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user