From af3a7d0948b55ca6934e8de1f8ed96c9382a1795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petter=20Jakub=20=C3=98kland?= Date: Thu, 3 Dec 2020 11:57:08 +0000 Subject: [PATCH] Create monolith-sample.conf --- docs/hiawatha/monolith-sample.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docs/hiawatha/monolith-sample.conf diff --git a/docs/hiawatha/monolith-sample.conf b/docs/hiawatha/monolith-sample.conf new file mode 100644 index 000000000..ac2a103be --- /dev/null +++ b/docs/hiawatha/monolith-sample.conf @@ -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 + ... + +}