aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPetter Jakub Økland <ergopoe@protonmail.ch>2020-10-28 16:37:56 +0000
committerGitHub <noreply@github.com>2020-10-28 16:37:56 +0000
commitfe339c8b98355484bca2f2055717ada26e99afc7 (patch)
tree94405fa6885490887abe353b1d3d548c50db3347 /docs
parentd5675feb96b7e3996ca2768fddb9f534dc268816 (diff)
Created polylith reverse proxy sample for Hiawatha (#1571)
Diffstat (limited to 'docs')
-rw-r--r--docs/hiawatha/polylith-sample.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/hiawatha/polylith-sample.conf b/docs/hiawatha/polylith-sample.conf
new file mode 100644
index 00000000..99730efd
--- /dev/null
+++ b/docs/hiawatha/polylith-sample.conf
@@ -0,0 +1,16 @@
+VirtualHost {
+ ...
+ # route requests to:
+ # /_matrix/client/.*/sync
+ # /_matrix/client/.*/user/{userId}/filter
+ # /_matrix/client/.*/user/{userId}/filter/{filterID}
+ # /_matrix/client/.*/keys/changes
+ # /_matrix/client/.*/rooms/{roomId}/messages
+ # to sync_api
+ ReverseProxy = /_matrix/client/.*?/(sync|user/.*?/filter/?.*|keys/changes|rooms/.*?/messages) http://localhost:8073
+ ReverseProxy = /_matrix/client http://localhost:8071
+ ReverseProxy = /_matrix/federation http://localhost:8072
+ ReverseProxy = /_matrix/key http://localhost:8072
+ ReverseProxy = /_matrix/media http://localhost:8074
+ ...
+}