I always set:
no_proxy=.mycompany
(export
if I am on Unix, or a simple set
on Windows)
It is enough to bypass the proxy for all intranet url ending with “.mycompany
“.
See for an example:
- “Can’t update/install using composer behind a corporate firewall“
- “Only use a proxy for certain git urls/domains?“
- “Cannot do
git-svn fetch
behind proxy“
I use it in my own project: .proxy.example
:
export http_proxy=http://username:[email protected]:port
export https_proxy=http://username:[email protected]:port
export no_proxy=.company localhost