# line 1591 : add (allow http access all)
http_access allow all
http_access deny all
# line 2143 : change like follows (specify backend Web server for defaultsite)
#http_port 3128
http_port 80 accel defaultsite=node01.srv.world
https_port 443 accel defaultsite=node01.srv.world tls-cert=/etc/letsencrypt/live/dlp.srv.world/fullchain.pem tls-key=/etc/letsencrypt/live/dlp.srv.world/privkey.pem
# line 3548 : add
cache_peer node01.srv.world parent 80 0 no-query originserver
# line 3680 : add to specify memory cache size
cache_mem 256 MB
# line 3954 : add
# number means ⇒ [disk cache size] [number of directories on top level] [number of directories on 2nd level]
cache_dir ufs /var/spool/squid 256 16 256
root@dlp:~#
|