diff --git a/privfrontends/templates/in/apps.Caddyfile b/privfrontends/templates/in/apps.Caddyfile index d3f3c83..30caef1 100644 --- a/privfrontends/templates/in/apps.Caddyfile +++ b/privfrontends/templates/in/apps.Caddyfile @@ -16,6 +16,9 @@ projectsegfau.lt { reverse_proxy /_synapse/* 192.168.1.54:8008 { header_up Host "matrix.projectsegfau.lt" } + reverse_proxy /_matrix/federation/v1/version /_matrix/key/v2/server /_matrix/federation/* 192.168.1.54:8008 { + header_up Host "matrix.projectsegfau.lt" + } reverse_proxy /.well-known/acme-challenge/* :5380 reverse_proxy /bosh :5280 reverse_proxy /ws :5280 @@ -56,6 +59,9 @@ matrix.projectsegfau.lt { reverse_proxy /_synapse/* 192.168.1.54:8008 { header_up Host "matrix.projectsegfau.lt" } + reverse_proxy /_matrix/federation/v1/version /_matrix/key/v2/server /_matrix/federation/* 192.168.1.54:8008 { + header_up Host "matrix.projectsegfau.lt" + } import def handle_path / { redir https://wiki.projectsegfau.lt/Matrix @@ -120,12 +126,6 @@ excalidraw.projectsegfau.lt { reverse_proxy :8695 } -# Maubot -mau.projectsegfau.lt { - reverse_proxy :29316 - import def -} - # MediaWiki wiki.projectsegfau.lt w.psf.lt { reverse_proxy 10.0.3.39:80 {