Franziska Kunsmann
0fda52337c
All checks were successful
bundlewrap/pipeline/head This commit looks good
28 lines
1 KiB
Text
28 lines
1 KiB
Text
location /.well-known/matrix/client {
|
|
return 200 '{"m.homeserver": {"base_url": "https://matrix.franzi.business"},"m.identity_server": {"base_url": "https://matrix.org"},"im.vector.riot.jitsi": {"preferredDomain": "meet.ffmuc.net"}}';
|
|
default_type application/json;
|
|
add_header Access-Control-Allow-Origin *;
|
|
}
|
|
|
|
location /.well-known/matrix/server {
|
|
return 200 '{"m.server": "matrix.franzi.business:443"}';
|
|
default_type application/json;
|
|
add_header Access-Control-Allow-Origin *;
|
|
}
|
|
|
|
location /_matrix {
|
|
proxy_pass http://[::1]:20080;
|
|
proxy_set_header Host "franzi.business";
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
}
|
|
|
|
location /_matrix/media {
|
|
client_max_body_size 500M;
|
|
|
|
proxy_read_timeout 600s;
|
|
proxy_set_header Host "franzi.business";
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
proxy_pass http://localhost:20090;
|
|
}
|