Mirror FreeBSD update server via nginx
antranigv
antranigv at freebsd.am
Sun Jan 24 02:32:53 UTC 2021
Greetings all,
I want to run a FreeBSD update server via caching it's content.
Following the "Freebsd-update Reverse Proxy Cache" section of
https://wiki.freebsd.org/FreeBSD_Update I was able to setup nginx and
use freebsd-update -s update.example.com to fetch/install patches and
currently testing upgrades (12.1-RELEASE-pX -> 12.2-RELEASE-pX).
While the network connection of our data-center is good enough for
upgrading a lot of hosts/jails via one reverse server, I wonder if
anyone has any technique in mind to 1) keep all the content forver 2)
using the same mechanism.
Reason: The userbase of FreeBSD in Armenia are mostly home/office
users, which means that their connection ranges in 100Mbps to 1Gbps in
Armenia, but due to out geo-location, we don't get such speeds from
update.freebsd.org nor we want to be a burden on the servers, what I'd
like to do is to ask our members to add the "-s update.freebsd.am" flag
and be done with it. Making the upgrade process faster.
Thanks in advance,
Let me know :)
P.S. I know that I can run our own build server, but I don't want to 1)
buy a powerful server for compiling (at least now) 2) ask our members
to change the keys in freebsd-update.conf.
--
antranigv
https://antranigv.am/
More information about the freebsd-hubs
mailing list