From 29553259ee85480ac8a3e1f9717e5ceb01f44562 Mon Sep 17 00:00:00 2001 From: Akshat Jain Date: Wed, 10 Dec 2025 01:17:15 +0530 Subject: [PATCH] [INFRA-284] Add `/static/` routes in Caddy Proxy files (#4998) * refactor: update reverse proxy routes from /api/* to /static/* in multiple Caddyfiles * refactor: update reverse proxy routes for /api/* and /static/* in multiple Caddyfiles --- apps/proxy/Caddyfile.aio.ee | 3 +++ apps/proxy/Caddyfile.ee | 1 + deployments/podman/commercial/Caddyfile | 1 + 3 files changed, 5 insertions(+) diff --git a/apps/proxy/Caddyfile.aio.ee b/apps/proxy/Caddyfile.aio.ee index 9ae808c107..2ebf6f5e79 100644 --- a/apps/proxy/Caddyfile.aio.ee +++ b/apps/proxy/Caddyfile.aio.ee @@ -12,6 +12,9 @@ handle /auth/* { reverse_proxy api:8000 } + handle /static/* { + reverse_proxy api:8000 + } handle /spaces/* { reverse_proxy space:3000 } diff --git a/apps/proxy/Caddyfile.ee b/apps/proxy/Caddyfile.ee index ad3013c645..e120a48f5a 100644 --- a/apps/proxy/Caddyfile.ee +++ b/apps/proxy/Caddyfile.ee @@ -10,6 +10,7 @@ reverse_proxy /api/* api:8000 reverse_proxy /graphql/* api:8000 reverse_proxy /auth/* api:8000 + reverse_proxy /static/* api:8000 reverse_proxy /live/* live:3000 reverse_proxy /silo/* silo:3000 reverse_proxy /{$BUCKET_NAME} plane-minio:9000 diff --git a/deployments/podman/commercial/Caddyfile b/deployments/podman/commercial/Caddyfile index 9e0e23d197..7621c2d07a 100644 --- a/deployments/podman/commercial/Caddyfile +++ b/deployments/podman/commercial/Caddyfile @@ -10,6 +10,7 @@ reverse_proxy /api/* systemd-api:8000 reverse_proxy /graphql/* systemd-api:8000 reverse_proxy /auth/* systemd-api:8000 + reverse_proxy /static/* systemd-api:8000 reverse_proxy /live/* systemd-live:3000 reverse_proxy /silo/* systemd-silo:3000 reverse_proxy /{$BUCKET_NAME} systemd-plane-minio:9000