openstack-ansible/tests/roles/bootstrap-host/files/squid.conf
Jonathan Rosser 57ac756465 Allow proxy zuul job to connect to any port
This was previously restricted to port 443, but now we are moving
to have the internal VIP also available on HTTPS so connections to
port 5000 and many others will be necessary.

Change-Id: I367e1f72ca86f20f9c93c0be88a18399b8b45439
2021-06-24 13:28:57 +01:00

19 lines
514 B
SquidConf

acl CONNECT method CONNECT
acl lan src 172.29.236.0/22
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