From 24c66803e4952c527f0f6b68801a86f6bfbde3b8 Mon Sep 17 00:00:00 2001 From: Claudio Date: Mon, 20 Apr 2026 16:54:55 +0200 Subject: [PATCH] Proxy /_plantuml to self-hosted plantuml-server Adds handle_path /_plantuml/* in git.hubris.network that rewrites to /plantuml{uri} and proxies to 192.168.8.205:8079 (plantuml-server docker container on LXC 105). Used by gitea footer.tmpl to render PlantUML markdown code blocks without hitting the public demo server. --- Caddyfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Caddyfile b/Caddyfile index 765a60a..ebaec90 100644 --- a/Caddyfile +++ b/Caddyfile @@ -19,7 +19,13 @@ git.hubris.network { tls { dns ionos {env.IONOS_AUTH_API_TOKEN} } - reverse_proxy 192.168.8.121:3000 + handle_path /_plantuml/* { + rewrite * /plantuml{uri} + reverse_proxy 192.168.8.205:8079 + } + handle { + reverse_proxy 192.168.8.121:3000 + } } paperless.hubris.network {