proxy repo for rhn anyone?

I am trying to setup a proxy for my RHEL 10 hosts, and all there was is this outdated link: Proxying RHEL Yum Repositories

I did everything including dealing with importing the SHA1withRSA cert so nexus will trust it, still all I can ever get is 404’s from any yum client, yet this command works: curl -vk --cert /etc/pki/entitlement/.pem
–key /etc/pki/entitlement/-key.pem
https://cdn.redhat.com/content/dist/rhel10/10/x86_64/appstream/os/repodata/repomd.xml

Has anyone got this working?