| Date: Wed, 31 May 2017 13:44:10 +0200
add nginx conf
Diffstat:
A contrib/amprolla.png | 0
A contrib/nginx.conf | 16 ++++++++++++++++
M lib/config.py | 4 ++--
3 files changed, 18 insertions(+), 2 deletions(-)
--- |
| t@@ -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;
+ }
+} |
| t@@ -21,7 +21,7 @@ repos = {
'skipmissing': False,
},
'debian-sec': {
- 'name': 'DEBIAN-SECURITY',
+ 'name': 'DEBIAN-SEC',
'host': 'http://security.debian.org',
'dists': 'dists',
'pool': 'pool',
t@@ -59,7 +59,7 @@ suites = {
}
aliases = {
- 'DEBIAN-SECURITY': {
+ 'DEBIAN-SEC': {
'ascii-security': 'stretch/updates',
'jessie-security': 'jessie/updates',
}, |