commit 7ffa9631a6e1e8501b10efa4ce1aa0024a014097 parent 387cc4fed0d142355ab4f6246a07c27ddefbb8ea Author: MTRNord <MTRNord@users.noreply.github.com> Date: Tue, 16 Sep 2025 20:19:52 +0200 Improve httproute Diffstat:
| M | apps/talos_cluster/continuwuity/deployment.yaml | | | 30 | +++++++++++++++++++++++++++++- |
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/apps/talos_cluster/continuwuity/deployment.yaml b/apps/talos_cluster/continuwuity/deployment.yaml @@ -82,12 +82,40 @@ spec: hostnames: - matrix.mtrnord.blog rules: - - backendRefs: + # Client traffic (sync, login, media, etc.) + - matches: + - path: + type: PathPrefix + value: /_matrix/client + backendRefs: - name: continuwuity port: 8448 timeouts: request: 240s backendRequest: 0s + - matches: + - path: + type: PathPrefix + value: /_matrix/media + backendRefs: + - name: continuwuity + port: 8448 + # Federation traffic + - matches: + - path: + type: PathPrefix + value: /_matrix/federation + backendRefs: + - name: continuwuity + port: 8448 + timeouts: + request: 240s + backendRequest: 0s + + # Fallback (anything else Matrix-y) + - backendRefs: + - name: continuwuity + port: 8448 --- apiVersion: gateway.envoyproxy.io/v1alpha1 kind: BackendTrafficPolicy