Files
openstack-ansible/tests/roles/bootstrap-host/templates/squid.conf.j2
Dmitriy Rabotyagov 1a6d21621a Make AIO networks configurable
We carry *_range variables without any real use as of today. With
that sometimes it makes total sense to override some AIO subnet
range in case it does intersect with already existing subnet on AIO VM.

This also should be useful and more flexible for future patches
which may add situational complexity.

Change-Id: Ibe46a54a4eca981a73a9b16e0945ec2944c1db87
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
2025-07-02 13:30:18 +00:00

19 lines
517 B
Django/Jinja

acl CONNECT method CONNECT
acl lan src {{ mgmt_network }}
http_access allow localhost manager
http_access allow lan
http_access deny manager
http_access allow localhost
http_access deny all
http_port 3128
coredump_dir /var/spool/squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320