From ebf43a3aa6a8270dbfb16888e308eae09ec0bba0 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 19 Jul 2022 16:20:46 -0600 Subject: [PATCH] Improve Caddyfile example --- docs/caddy/monolith/Caddyfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/caddy/monolith/Caddyfile b/docs/caddy/monolith/Caddyfile index 3a912f8dc..3adf45982 100644 --- a/docs/caddy/monolith/Caddyfile +++ b/docs/caddy/monolith/Caddyfile @@ -43,11 +43,12 @@ example.com { header /.well-known/matrix/* Content-Type application/json header /.well-known/matrix/* Access-Control-Allow-Origin * respond /.well-known/matrix/server `{"m.homeserver": {"base_url": "https://matrix.example.com"}}` - respond /.well-known/matrix/client `{"m.server": {"base_url": "matrix.example.com:443"}}` + respond /.well-known/matrix/client `{"m.server": "matrix.example.com:443"}` } # The actual domain name whereby your Matrix server is accessed. matrix.example.com { # Set localhost:8008 to the address of your Dendrite server, if different - reverse_proxy /_matrix/* localhost:8008 + reverse_proxy /_matrix/* localhost:8008 # matrix endpoints + reverse_proxy /_dendrite/* localhost:8008 # admin endpoints }