diff --git a/conf/squid.conf b/conf/squid.conf index 9398477..6c46586 100644 --- a/conf/squid.conf +++ b/conf/squid.conf @@ -21,7 +21,7 @@ acl purge method PURGE acl CONNECT method CONNECT ###Directive pour n’autoriser que les comptes enregistrés dans le LDAP de Yunohost -auth_param basic program /usr/lib/__SQUID__/basic_ldap_auth -b dc=yunohost,dc=org -h 127.0.0.1 -f "uid=%s" +auth_param basic program /usr/lib/__SQUID_NAME__/basic_ldap_auth -b dc=yunohost,dc=org -h 127.0.0.1 -f "uid=%s" auth_param basic children 50 auth_param basic realm Web-Proxy @@ -44,9 +44,9 @@ dns_nameservers 127.0.0.1 ##Port d'écoute du Proxy http_port __PORT__ forwarded_for off ### mode transparant, la vrai IP est cachée -cache_dir aufs /var/spool/__SQUID__ 10000 16 256 +cache_dir aufs /var/spool/__SQUID_NAME__ 10000 16 256 hierarchy_stoplist cgi-bin ? -access_log /var/log/__SQUID__/access.log squid +access_log /var/log/__SQUID_NAME__/access.log squid refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0