telodendria/contrib/relayd.conf

23 lines
482 B
Plaintext
Raw Normal View History

2022-11-07 11:19:29 -05:00
table <telodendria> { localhost }
http protocol httpproxy {
pass request quick path "/_matrix/*" forward to <telodendria>
pass request quick path "/.well-known/matrix/*" forward to <telodendria>
# You'll have to generate the following for this to work:
# /etc/ssl/telodendria.crt /etc/ssl/private/telodendria.key
tls keypair "telodendria"
block
return error
}
relay proxy {
listen on 127.0.0.1 port https tls
protocol httpproxy
2023-01-02 23:01:03 -05:00
forward to <telodendria> port 8008
2022-11-07 11:19:29 -05:00
}