From 3dd823aab40bb06175b15da659dc100547e0ee13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bob=20Dr=C3=B6ge?= Date: Thu, 11 Apr 2024 14:28:43 +0200 Subject: [PATCH] update stratum1 template for new port variables --- templates/eessi_stratum1_squid.conf.j2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/eessi_stratum1_squid.conf.j2 b/templates/eessi_stratum1_squid.conf.j2 index 78ba7cb8..dc5adb31 100644 --- a/templates/eessi_stratum1_squid.conf.j2 +++ b/templates/eessi_stratum1_squid.conf.j2 @@ -5,10 +5,11 @@ # Contact dual-stack websites over IPv4 first dns_v4_first on -http_port 80 accel -http_port 8000 accel +{% for port in cvmfs_stratum1_http_ports %} +http_port {{ port }} accel +{% endfor %} http_access allow all -cache_peer 127.0.0.1 parent {{ cvmfs_stratum1_apache_port }} 0 no-query originserver +cache_peer 127.0.0.1 parent {{ cvmfs_stratum1_apache_port_with_squid }} 0 no-query originserver {% if cvmfs_stratum1_cache_dir is defined %} cache_dir ufs {{ cvmfs_stratum1_cache_dir.dir }} {{ cvmfs_stratum1_cache_dir.size }} 16 256