Skip to content

Instantly share code, notes, and snippets.

@clouedoc
Created June 4, 2022 11:57
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 clouedoc/b67ce38354fcfe865517a81fe9085a1d to your computer and use it in GitHub Desktop.
Save clouedoc/b67ce38354fcfe865517a81fe9085a1d to your computer and use it in GitHub Desktop.
Dockerfile for squid with SSL interception and caching
FROM salrashid123/squidproxy
ENTRYPOINT [ "/apps/squid/sbin/squid" ]
CMD [ "-NsY", "-f", "/apps/squid.conf.intercept"]
# test your proxy with this command:
# curl --insecure --proxy http://<Your Proxy Host Here>:3128 https://www.lagado.com/tools/cache-test | grep "page serial number</b></td"
# the number should be the same everytime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment