On Thu, Apr 09, 2020 at 08:58:14PM +0200, Bengt Richter wrote: > Wondering, could dnsmasq help? I am already using dnsmasq to access a virtual machine of the machine hosting the Guix website so can replace the Guix website while old URLs keep working. https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/berlin.scm. I configured dnsmasq with NetworkManager. (network-manager-service-type config => (network-manager-configuration (inherit config) (dns "dnsmasq") (vpn-plugins (list network-manager-openconnect))))))) Also I made the network manager configuration as described in the Guix manual. I made the attached modifications to berlin.scm so I can test without the VM starting to build the world. Then I changed my /etc/hosts 127.0.0.1 localhost florianmacbook ::1 localhost florianmacbook 172.28.112.244 guix.gnu.org guix.gnu.org Then I made the changes from my previous patch, except those nginx-server-configuration that I removed because I cannot test TLS. I compile the VM using ~/git/maintenance$ GUILE_LOAD_PATH=$GUILE_LOAD_PATH:$(pwd)/modules guix system vm-image --image-size=5G --fallback /home/florian/git/maintenance/hydra/berlin.scm (More than --image-size=5G to be safe.) I copy the resulting image and name it berlin1.img, make it writable and run it via qemu-system-x86_64 -enable-kvm berlin1.img -m 2048 -nic tap,ifname=tap0,script=no,downscript=no When running the virtual machine, I log in as root and do “herd stop mcron” so the VM does not get overloaded building all kinds of things I do not need. I run the command from “herd schedule mcron” to build the guix.gnu.org website manually once. I am confused by all the ways to rewrite, redirect and try_files in nginx. I would be happy if others with more knowledge could help. Regards, Florian