Git and Node Proxy Settings

Today i came to replicating the MediaWiki install i wrote about previously on a server in work. This mean’t dealing with proxies and i noticed some strange behavior.


Using these commandlines, git was able to get out of our corporate firewall.

git config –global http.proxy

git config –global https.proxy


Initially i set https-proxy to the https address for our proxy but it didnt work. I found out that for some reason changing this to http proxy address worked.

npm config set proxy

npm config set https-proxy


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s