增加配置
This commit is contained in:
parent
c916cb2146
commit
b53e027b9d
11
config/squid.conf
Normal file
11
config/squid.conf
Normal file
@ -0,0 +1,11 @@
|
||||
http_port 3128
|
||||
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/squid_passwd
|
||||
auth_param basic children 5
|
||||
auth_param basic realm Squid proxy-caching web server
|
||||
auth_param basic credentialsttl 2 hours
|
||||
acl auth_users proxy_auth REQUIRED
|
||||
http_access allow auth_users
|
||||
pid_filename /tmp/squid.pid
|
||||
cache_log /dev/null
|
||||
access_log none
|
||||
cache_store_log none
|
||||
1
config/squid_passwd
Normal file
1
config/squid_passwd
Normal file
@ -0,0 +1 @@
|
||||
user:$apr1$KhRI8wrZ$SafuEp09ZGnmWYXm4dQvW.
|
||||
Loading…
x
Reference in New Issue
Block a user