FG
💻 Software

How to specify that Yum should not use proxy for specific domain

Fresh5 days ago
Mar 15, 202678716 views
Confidence Score0%
0%

Problem

Is it possible to specify domain for which yum should bypass proxy configuration ? I'm afraid this is not possible... I read that it was possible to use the environment variable then , is it the most elegant solution? [EDIT] I tried the solution with the environment variables: Yum uses proxy but th…

Error Output

export HTTP_PROXY=http://user:pass@host:port
export http_proxy=http://user:pass@host:port
export no_proxy=.domain
export NO_PROXY=.domain

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to specify that Yum should not use proxy for specific domain

Low Risk

I have not been able to get this to work using environment variables as you describe here. Yum does support proxies itself, however, and you should be able to do something like this: Into and then adding Into the repo definitions you don't want to a…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment