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.
This commit is contained in:
@@ -19,8 +19,14 @@ git.hubris.network {
|
|||||||
tls {
|
tls {
|
||||||
dns ionos {env.IONOS_AUTH_API_TOKEN}
|
dns ionos {env.IONOS_AUTH_API_TOKEN}
|
||||||
}
|
}
|
||||||
|
handle_path /_plantuml/* {
|
||||||
|
rewrite * /plantuml{uri}
|
||||||
|
reverse_proxy 192.168.8.205:8079
|
||||||
|
}
|
||||||
|
handle {
|
||||||
reverse_proxy 192.168.8.121:3000
|
reverse_proxy 192.168.8.121:3000
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
paperless.hubris.network {
|
paperless.hubris.network {
|
||||||
tls {
|
tls {
|
||||||
|
|||||||
Reference in New Issue
Block a user