route edge traffic through proxy cache chain
This commit is contained in:
parent
26a834d3b5
commit
0d34690546
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue