We've been an official mirror for quite some time, the default list /etc/pacman.d/mirrorlist ships with our urls. Just uncomennt and execute pacman -Syy.
If you do not already have a mirrorlist, create above file and add the following lines:
Server = https://mirror.puzzle.ch/archlinux/$repo/os/$arch
Server = http://mirror.puzzle.ch/archlinux/$repo/os/$arch
The following page displays further information and error logs:
Since we're an officially listed mirror you shouldn't have to configure anything.
If you'd like to explicitly set the puzzle mirror (even if it might not be the fastest option for your region) change /etc/yum.repos.d/Rocky-BaseOS.repo accordingly:
name=Rocky Linux $releasever - BaseOS
The following page displays further information:
To modify mirror URLs cleanly, copy all the repository configuration files to /etc/xbps.d and change the URLs in each copied repository file. Then resynchronize using xbps-install -S
# mkdir -p /etc/xbps.d
# cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
# sed -i 's|https://repo-default.voidlinux.org|https://mirror.puzzle.ch/voidlinux|g' /etc/xbps.d/*-repository-*.conf
Please consult the official documentation for further information: