mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-25 13:11:37 +00:00
19b1d40d64
* Created polylith reverse proxy sample for Hiawatha * Create monolith-sample.conf * Added timeout to proxies and binding explanation. * Fixed typo. * Consistency with regards to polylith-sample.conf.
18 lines
555 B
Plaintext
18 lines
555 B
Plaintext
# Depending on which port is used for federation (.well-known/matrix/server or SRV record),
|
|
# ensure there's a binding for that port in the configuration. Replace "FEDPORT" with port
|
|
# number, (e.g. "8448"), and "IPV4" with your server's ipv4 address (separate binding for
|
|
# each ip address, e.g. if you use both ipv4 and ipv6 addresses).
|
|
|
|
Binding {
|
|
Port = FEDPORT
|
|
Interface = IPV4
|
|
TLScertFile = /path/to/fullchainandprivkey.pem
|
|
}
|
|
|
|
VirtualHost {
|
|
...
|
|
ReverseProxy = /_matrix http://localhost:8008 600
|
|
...
|
|
|
|
}
|