Commit 5ec66b7
committed
test: keep loopback registry traffic off HTTP proxies
In a proxied environment (HTTP_PROXY/HTTPS_PROXY without a loopback
no-proxy entry) package managers would send the 127.0.0.1 registry requests
through the proxy and never reach the local server. Extend the no-proxy
list (NO_PROXY/no_proxy and npm's noproxy spellings, merged with any
existing value) in the registry env so loopback traffic always goes
direct.1 parent 554df03 commit 5ec66b7
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
496 | 503 | | |
497 | 504 | | |
498 | 505 | | |
499 | 506 | | |
500 | 507 | | |
501 | 508 | | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
502 | 513 | | |
503 | 514 | | |
504 | 515 | | |
| |||
0 commit comments