I want to use nginx proxy download.proxmox.com

asumi321

Member
Sep 19, 2018
18
0
6
28
I am from China, accessing download.proxmox.com is too slow, so I want to use my access to the fast server to proxy, how do I configure nginx conf
 
If you do not use the enterprise repository (so you use non-subscription and test), you can just create a local mirror via debmirror and serve that to your machines.
 
FWIW here's what I had to mirror to go from ProxMox v6 nautilus to v7 pacific.
debmirror /srv/mirror/debian/pve/ --nosource --host=download.proxmox.com --root=debian/pve --dist=buster --section=pve-no-subscription --i18n -arch=amd64 --passive --cleanup --progress --method=http
debmirror /srv/mirror/debian/pve/ --nosource --host=download.proxmox.com --root=debian/pve --dist=bullseye --section=pve-no-subscription --i18n -arch=amd64 --passive --cleanup --progress --method=http
debmirror /srv/mirror/debian/ceph-nautilus/ --nosource --host=download.proxmox.com --root=debian/ceph-nautilus --dist=buster --i18n -arch=amd64 --passive --cleanup --progress --method=http
debmirror /srv/mirror/debian/ceph-octopus/ --nosource --host=download.proxmox.com --root=debian/ceph-octopus --dist=buster --i18n -arch=amd64 --passive --cleanup --progress --method=http
debmirror /srv/mirror/debian/ceph-octopus/ --nosource --host=download.proxmox.com --root=debian/ceph-octopus --dist=bullseye --i18n -arch=amd64 --passive --cleanup --progress --method=http
debmirror /srv/mirror/debian/ceph-pacific/ --nosource --host=download.proxmox.com --root=debian/ceph-pacific --dist=bullseye --i18n -arch=amd64 --passive --cleanup --progress --method=http