On 9/25/23 23:46, Kaushal Shriyan wrote:
I am running Red Hat Enterprise Linux release 8.7 (Ootpa) OS in
production environment. I have enabled both epel in /etc/yum.repos.d
directory
There is a proxy server setup in the network. I have whitelisted the
below wildcard URLs as listed as per epel repo.
https://*.fedoraproject.org <http://fedoraproject.org/>
_#cat /etc/yum.repos.d/epel.repo_
[epel]
name=Extra Packages for Enterprise Linux 8 - $basearch
# It is much more secure to use the metalink, but if you wish to use a
local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/8/Everything/$basearch
<https://download.example/pub/epel/8/Everything/$basearch>
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=$basearch&infra=$infra&content=$contentdir
<https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=$basearch&infra=$infra&content=$contentdir>
I have only whitelisted https://*.fedoraproject.org
<http://fedoraproject.org/> on the http proxy server. Do I need to
whitelist any additional URLs to address the above issue, or Am I
missing anything?
The metalink link means that dnf will ask the server for a list of
mirrors to use and any actual downloads will come from those. You will
need to whitelist all the possible mirror servers for your region. Why
do you have such a restrictive proxy?
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue