bundlewrap/data/nginx/files/extras/htz.ex42-1048908/matrix.franzi.business
Franziska Kunsmann d4b110087f
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/matrix-media-repo: introduce, add to htz.ex42-1048908
2021-02-12 16:01:35 +01:00

22 lines
714 B
Text

location /.well-known/matrix/ {
types { } default_type "application/json";
alias /etc/matrix-synapse/wellknown/;
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;
}