Skip to content

Instantly share code, notes, and snippets.

@andrewpetrochenkov
Created April 23, 2025 14:55
Show Gist options
  • Save andrewpetrochenkov/a9a99233443fbc38e1b8862e483c85e4 to your computer and use it in GitHub Desktop.
Save andrewpetrochenkov/a9a99233443fbc38e1b8862e483c85e4 to your computer and use it in GitHub Desktop.
squid restart #squid #proxy
brew services stop squid
rm /opt/homebrew/var/run/squid.pid
brew services start squid
# test
brew services list | grep squid
curl -x http://127.0.0.1:3128 -v https://example.com
cat /opt/homebrew/var/logs/access.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment