Skip to content

Instantly share code, notes, and snippets.

@xiaojay
Created August 28, 2014 14:17
Show Gist options
  • Save xiaojay/0073aa2c6a48700cd06d to your computer and use it in GitHub Desktop.
Save xiaojay/0073aa2c6a48700cd06d to your computer and use it in GitHub Desktop.
squid basic auth
#auth_param basic program /usr/lib/squid3/ncsa_auth /home/jay/jayproxy/auth-password
#auth_param basic children 5
#auth_param basic realm PLEASE LOGIN IN
#auth_param basic credentialsttl 4 hours
#auth_param basic casesensitive off
#authenticate_ip_ttl 5 minutes
#acl nosingleip max_user_ip -s 1
#acl ncsa_users proxy_auth REQUIRED
#http_access deny nosingleip
#http_access allow ncsa_users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment