http_port 3128 |
port utilisé pour le serveur. |
hierarchy_stoplist cgi-bin ? |
|
acl QUERY urlpath_regex cgi-bin |
|
no_cache deny QUERY |
|
cache_mem 40 MB |
taille maximum allouée dans |
|
la mémoire vive!. |
cache_dir ufs /var/squid/cache 500 16 256 |
répertoire ou placer le cache. |
cache_access_log /var/squid/logs/access.log |
|
cache_log /var/squid/logs/cache.log |
|
acl all src 0.0.0.0/0.0.0.0 |
définition de la source ``all'' |
acl localnet src 192.168.0.0/255.255.0.0 |
définition de ``localnet'' |
acl manager proto cache_object |
|
acl Safe_ports port 80 21 443 1025-65535 |
|
acl localhost src 127.0.0.1/255.255.255.255 |
définition de ``localhost'' |
acl SSL_ports port 443 563 |
ports ``sécurisés'' |
acl CONNECT method CONNECT |
|
http_access allow localnet |
permissions pour ``localnet'' |
http_access allow manager localhost |
permissions pour ``localhost'' |
http_access deny manager |
|
http_access deny !Safe_ports |
|
http_access deny CONNECT !SSL_ports |
|
http_access deny all |
|
icp_access allow all |
|
cache_mgr seb@mail_administrateur.fr |
|
visible_hostname cache.domain.org |
|
anonymize_headers allow Allow Authorization Cache-Control |
anonymize_headers allow Content-Encoding Content-Length |
anonymize_headers allow Content-Type Date Expires Host |
anonymize_headers allow If-Modified-Since Last-Modified |
anonymize_headers allow Location Pragma Accept |
anonymize_headers allow Accept-Encoding Accept-Language |
anonymize_headers allow Content-Language Mime-Version |
anonymize_headers allow Retry-After Title Connection |
anonymize_headers allow Proxy-Connection |