same for bosh and ws

This commit is contained in:
Arya 2024-01-08 15:09:55 +05:30
parent 452ac6a839
commit df19f075c4
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -12,8 +12,18 @@ projectsegfau.lt {
import def
reverse_proxy /_matrix/* :8456
reverse_proxy /.well-known/acme-challenge/* :5380
reverse_proxy /bosh :5280
reverse_proxy /ws :5280
reverse_proxy /bosh :5443 {
header_up X-Real-IP {remote_host}
transport http {
tls_insecure_skip_verify
}
}
reverse_proxy /ws :5443 {
header_up X-Real-IP {remote_host}
transport http {
tls_insecure_skip_verify
}
}
header /.well-known/matrix/* Content-Type application/json
header /.well-known/matrix/* Access-Control-Allow-Origin *
handle_path /.well-known/* {