Create monolith-sample.conf

This commit is contained in:
Petter Jakub Økland 2020-12-03 11:57:08 +00:00 committed by GitHub
parent f5fda302ab
commit af3a7d0948
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,17 @@
# 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://127.0.0.1:8008 600
...
}