Univention Bugzilla – Bug 51885
Access to squid cache_object from localhost won't work with default configuration
Last modified: 2020-08-21 16:18:03 CEST
Created attachment 10464 [details] Patch for squid.conf template During testing the "check_squid" script from https://github.com/DinoTools/monitoring-check_squid it came out that with the default order of acl in the squid.conf file the cache_object won't be accessible neither from localhost nor from other networks. The error message in /var/log/squid/access.log is 127.0.0.1 TCP_MISS/200 2614 GET cache_object://127.0.0.1/info - HIER_NONE/- text/plain The solution is to move the line http_access deny !web_ports in the squid.conf file two lines lower. print("http_access allow localhost manager") print("http_access deny manager") print("http_access deny !web_ports") I've uploaded a patch for the /etc/univention/templates/files/etc/squid/squid.conf template.