From: Peter Palfrader Date: Tue, 2 Jul 2019 11:00:13 +0000 (+0200) Subject: work around GnuPG being silly with redirects X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=2bb4aa53547f2dae07880fa14ed95913cf3d2540;p=mirror%2Fdsa-puppet.git work around GnuPG being silly with redirects --- diff --git a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb index 96c4ce651..02769feeb 100644 --- a/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb +++ b/modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb @@ -222,8 +222,17 @@ + # Legacy GPG versions (including 2.2.12 in buster/Debian 10) get redirections from + # the (not supposed to be default) direct method wrong. + # They ask for https://debian.org/.well-known/openpgpkey/hu/ + # get a redirect to https://openpgpkey.debian.org/.well-known/openpgpkey/debian.org/hu/ + # and then try to fetch https://openpgpkey.debian.org/.well-known/openpgpkey/hu/ + # *sigh* + Alias /.well-known/openpgpkey/hu/ /srv/static.debian.org/mirrors/openpgpkey.debian.org/cur/debian.org/hu/ + Alias /.well-known/openpgpkey/policy /srv/static.debian.org/mirrors/openpgpkey.debian.org/cur/debian.org/policy + + # The draft specified well-known place using the "advanced method" Alias /.well-known/openpgpkey/ /srv/static.debian.org/mirrors/openpgpkey.debian.org/cur/ - Options -Indexes