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