Browse Source

add nginx conf

debianarchive-update
parazyd 6 years ago
parent
commit
10017e02ee
Signed by untrusted user: parazyd GPG Key ID: F0CB28FCF78637DE
  1. BIN
      contrib/amprolla.png
  2. 16
      contrib/nginx.conf
  3. 4
      lib/config.py

BIN
contrib/amprolla.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

16
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;
}
}

4
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',
},

Loading…
Cancel
Save