aboutsummaryrefslogtreecommitdiff
path: root/docs/hiawatha/monolith-sample.conf
diff options
context:
space:
mode:
Diffstat (limited to 'docs/hiawatha/monolith-sample.conf')
-rw-r--r--docs/hiawatha/monolith-sample.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/hiawatha/monolith-sample.conf b/docs/hiawatha/monolith-sample.conf
new file mode 100644
index 00000000..8285c0bd
--- /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://localhost:8008 600
+ ...
+
+}