GNU bug report logs -
#26302
[website] translations
Previous Next
Reported by: ng0 <contact.ng0 <at> cryptolab.net>
Date: Wed, 29 Mar 2017 15:41:01 UTC
Severity: normal
Done: Tobias Geerinckx-Rice <me <at> tobias.gr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
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 <guix.gnu.org/.i18n/de/> 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
[0001-various-changes-for-local-testing.patch (text/plain, attachment)]
[0002-remove-rottlog.patch (text/plain, attachment)]
This bug report was last modified 4 years and 290 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.