Skip to content

Commit 2885441

Browse files
committed
New Squid template
1 parent 493ee47 commit 2885441

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
##
2+
## This file is managed by Ansible. ALL CHANGES WILL BE OVERWRITTEN.
3+
##
4+
5+
http_port 80 accel
6+
http_port 8000 accel
7+
http_access allow all
8+
cache_peer 127.0.0.1 parent {{ cvmfs_stratum1_apache_port }} 0 no-query originserver
9+
10+
{% if cvmfs_stratum1_cache_dir is defined %}
11+
cache_dir ufs {{ cvmfs_stratum1_cache_dir.dir }} {{ cvmfs_stratum1_cache_dir.size }} 16 256
12+
{% endif %}
13+
#maximum_object_size 1024 MB
14+
15+
cache_mem {{ cvmfs_stratum1_cache_mem }} MB
16+
# CERN config examples use 128 KB for both local proxies and stratum 1, but
17+
# data objects are larger than this
18+
maximum_object_size_in_memory 4 MB
19+
20+
visible_hostname {{ inventory_hostname }}

0 commit comments

Comments
 (0)