| http_access allow localhost manager | http_access allow localhost manager | ||||
| http_access deny manager | http_access deny manager | ||||
| http_access allow localhost | http_access allow localhost | ||||
| http_access allow localnet | |||||
| include /etc/squid/conf.d/*.conf | |||||
| http_access deny all | http_access deny all | ||||
| ################################## Proxy Server ################################ | ################################## Proxy Server ################################ | ||||
| refresh_pattern \/InRelease$ 0 0% 0 refresh-ims | refresh_pattern \/InRelease$ 0 0% 0 refresh-ims | ||||
| refresh_pattern \/(Translation-.*)(|\.bz2|\.gz|\.xz)$ 0 0% 0 refresh-ims | refresh_pattern \/(Translation-.*)(|\.bz2|\.gz|\.xz)$ 0 0% 0 refresh-ims | ||||
| refresh_pattern . 0 20% 4320 | refresh_pattern . 0 20% 4320 | ||||
| logfile_rotate 0 | |||||
| # upstream proxy, set to your own upstream proxy IP to avoid SSRF attacks | # upstream proxy, set to your own upstream proxy IP to avoid SSRF attacks | ||||
| # cache_peer 172.1.1.1 parent 3128 0 no-query no-digest no-netdb-exchange default | # cache_peer 172.1.1.1 parent 3128 0 no-query no-digest no-netdb-exchange default | ||||
| http_port 8194 accel vhost | http_port 8194 accel vhost | ||||
| cache_peer sandbox parent 8194 0 no-query originserver | cache_peer sandbox parent 8194 0 no-query originserver | ||||
| acl src_all src all | acl src_all src all | ||||
| http_access allow src_all | |||||
| http_access allow src_all |