htz.ex42-1048908: add missing domains
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
94c2c644a6
commit
de632a7725
7 changed files with 120 additions and 1 deletions
|
@ -0,0 +1,19 @@
|
|||
client_max_body_size 500M;
|
||||
|
||||
location /.well-known/matrix/ {
|
||||
alias /etc/matrix-synapse/wellknown/;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
|
||||
location /_matrix {
|
||||
proxy_pass http://[::1]:8008;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
}
|
||||
|
||||
location /_matrix/media {
|
||||
proxy_read_timeout 60s;
|
||||
proxy_set_header Host $host; # Make sure this matches your homeserver in media-repo.yaml
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_pass http://localhost:8010; # Point this towards media-repo
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue