Skip to content

Instantly share code, notes, and snippets.

@integrii
Created July 17, 2015 04:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save integrii/fed7fab621f314fe135d to your computer and use it in GitHub Desktop.
Save integrii/fed7fab621f314fe135d to your computer and use it in GitHub Desktop.
authenticated squid.conf for centos 7
# setup password file
sudo htdigest -c /etc/squid/passwords local username
auth_param basic program /usr/lib64/squid/basic_ncsa_auth /etc/squid/passwords
auth_param basic realm proxy
acl authenticated proxy_auth REQUIRED
http_access allow authenticated
http_port 3128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment