Skip to content

Commit

Permalink
update stratum1 template for new port variables
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Apr 11, 2024
1 parent 0ea5cc2 commit 3dd823a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions templates/eessi_stratum1_squid.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3dd823a

Please sign in to comment.