Created
July 17, 2015 04:45
-
-
Save integrii/fed7fab621f314fe135d to your computer and use it in GitHub Desktop.
authenticated squid.conf for centos 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# setup password file | |
sudo htdigest -c /etc/squid/passwords local username |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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