Skip to content

Proxying NPM #20

@jcantosz

Description

@jcantosz

Hi,

I'm relatively new to Squid. I was hoping for some expansion on the HTTPS instructions relating to NPM. I am looking to intercept/cache ONLY npm SSL connections.

I modified squid.conf, rebuilt, and started my squid server with run.sh ssl.
My other docker images run detect_proxy.sh and npm config set cafile /usr/local/share/ca-certificates/docker-proxy.crt

I've tried a number of variations for my acl:

#acl npmjs url_regex npmjs
#acl npmjs dstdomain .npmjs.org
acl npmjs dst 151.101.56.162 # ip displayed when pinging registry.npmjs.org
...
ssl_bump server-first npmjs
ssl_bump none all
...

Any ideas on where I am going wrong?

Thanks,
~ Jesse

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions