route edge traffic through proxy cache chain

This commit is contained in:
juvenal.diaz 2026-09-28 08:01:07 -06:00
parent 26a834d3b5
commit 0d34690546
1 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,10 @@ proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=static_assets:10m max_siz
proxy_cache_path /var/cache/nginx_dynamic levels=1:2 keys_zone=dynamic_content:5m max_size=50m inactive=1h;
upstream homelab_backend {
server ${backend_host}:${backend_port};
# Public Kubernetes application traffic deliberately traverses the edge
# learning chain: nginx -> HAProxy -> Varnish or Squid -> Traefik.
# HAProxy is reachable only on the internal Compose network.
server haproxy-dev:9000;
keepalive 16;
}