How to sync yum repos via proxy

Hello,
There is a HTTP proxies option in infrastructrure menu. Also tested it but with no result.
The problem is if I set the general variable as mentionned, internal communication does not work anymore.
Whats the purpose of the HTTP proxies variable in the GUI is not this one ?
Regards