From 15e2b4cf7adedfc8c0d303c17587e698eb27d79c Mon Sep 17 00:00:00 2001 From: Helix K Date: Sun, 3 May 2026 21:36:04 -0500 Subject: [PATCH] Add Nginx example --- meowlnir/reverse-proxy.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/meowlnir/reverse-proxy.md b/meowlnir/reverse-proxy.md index 088c9d3..c74a00c 100644 --- a/meowlnir/reverse-proxy.md +++ b/meowlnir/reverse-proxy.md @@ -35,3 +35,20 @@ matrix-federation.example.com { } } ``` + +### Nginx +```nginx +server { + server_name matrix-client.example.com; + location ~ ^/_matrix/client/v3/(rooms|users)/report { + proxy_pass http://localhost:29339; + } +} + +server { + server_name matrix-federation.example.com; + location ~ ^/_matrix/policy/ { + proxy_pass http://localhost:29339; + } +} +```