bundlewrap/data/nginx/files/extras/htz.ex42-1048908/matrix.franzi.business

23 lines
714 B
Text
Raw Normal View History

2020-07-19 09:26:12 +00:00
location /.well-known/matrix/ {
types { } default_type "application/json";
2020-07-19 09:26:12 +00:00
alias /etc/matrix-synapse/wellknown/;
add_header Access-Control-Allow-Origin *;
}
location /_matrix {
2020-09-20 08:29:19 +00:00
proxy_pass http://[::1]:20080;
proxy_set_header Host "franzi.business";
proxy_set_header X-Real-IP $remote_addr;
2020-07-19 09:26:12 +00:00
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";
2020-07-19 09:26:12 +00:00
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://localhost:20090;
2020-07-19 09:26:12 +00:00
}