amprolla

devuan's apt repo merger
git clone git://parazyd.org/amprolla.git
Log | Files | Refs | README | LICENSE

commit 10017e02ee4fb54800e5b12a55477ff37f738735
parent a9c75db0eb4ef83bb40b00e3685181bd6841102d
Author: parazyd <parazyd@dyne.org>
Date:   Wed, 31 May 2017 13:44:10 +0200

add nginx conf

Diffstat:
Acontrib/amprolla.png | 0
Acontrib/nginx.conf | 16++++++++++++++++
Mlib/config.py | 4++--
3 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/contrib/amprolla.png b/contrib/amprolla.png Binary files differ. diff --git a/contrib/nginx.conf b/contrib/nginx.conf @@ -0,0 +1,16 @@ +server { + listen 80 auto.mirror.devuan.org; + listen [::]:80 auto.mirror.devuan.org; + + location / { + autoindex on; + } + + location /merged { + alias /srv/amprolla/merged; + + rewrite /merged/pool/DEVUAN/(.*) http://auto.mirror.devuan.org/devuan/pool/$1; + rewrite /merged/pool/DEBIAN-SEC/(.*) http://security.debian.org/pool/$1; + rewrite /merged/pool/DEBIAN/(.*) http://deb.debian.org/debian/pool/$1; + } +} diff --git a/lib/config.py b/lib/config.py @@ -21,7 +21,7 @@ repos = { 'skipmissing': False, }, 'debian-sec': { - 'name': 'DEBIAN-SECURITY', + 'name': 'DEBIAN-SEC', 'host': 'http://security.debian.org', 'dists': 'dists', 'pool': 'pool', @@ -59,7 +59,7 @@ suites = { } aliases = { - 'DEBIAN-SECURITY': { + 'DEBIAN-SEC': { 'ascii-security': 'stretch/updates', 'jessie-security': 'jessie/updates', },