bower proxy configuration

Johann Sonntagbauer picture Johann Sonntagbauer · Aug 21, 2013 · Viewed 100.7k times · Source

is there a way to configure bower not only to use a proxy but ignore the proxy configuration for some domains?

I have the problem, that I will run an internal bower registry for our own developed components. For that repository I would like to ignore the proxy configuration.

Answer

Itsik Avidan picture Itsik Avidan · Jan 23, 2014

Edit your .bowerrc file ( should be next to your bower.json file ) and add the wanted proxy configuration

"proxy":"http://<host>:<port>",
"https-proxy":"http://<host>:<port>"