mirror of
https://github.com/YunoHost-Apps/squid3_ynh.git
synced 2024-09-03 20:26:11 +02:00
Update squid.conf - fix __squid__ -> __squid_name__
This commit is contained in:
parent
6a7c5c7649
commit
56fb7f5546
1 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ acl purge method PURGE
|
||||||
acl CONNECT method CONNECT
|
acl CONNECT method CONNECT
|
||||||
|
|
||||||
###Directive pour n’autoriser que les comptes enregistrés dans le LDAP de Yunohost
|
###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 children 50
|
||||||
auth_param basic realm Web-Proxy
|
auth_param basic realm Web-Proxy
|
||||||
|
@ -44,9 +44,9 @@ dns_nameservers 127.0.0.1
|
||||||
##Port d'écoute du Proxy
|
##Port d'écoute du Proxy
|
||||||
http_port __PORT__
|
http_port __PORT__
|
||||||
forwarded_for off ### mode transparant, la vrai IP est cachée
|
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 ?
|
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 ^ftp: 1440 20% 10080
|
||||||
refresh_pattern ^gopher: 1440 0% 1440
|
refresh_pattern ^gopher: 1440 0% 1440
|
||||||
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
|
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue