Yes, I configured the proxy via the web interface, and it is now listed in /etc/pve/pve.cfg. Proxmox uses it do download appliance templates etc.
However, the daily cron job /etc/cron.daily/pve disregards that setting, so I added extra code to evaluate the configuration file and use the setting...