amprolla

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

commit 08515912f203b19cb94ea10775bd7dbeb35da869
parent 7d6302920b12b98e9de5ecedd08119e497842f7c
Author: parazyd <parazyd@dyne.org>
Date:   Sun, 25 Jun 2017 17:38:14 +0200

fixup! add missing onion and https nginx rewrites

Diffstat:
Mcontrib/nginx.conf | 16++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/contrib/nginx.conf b/contrib/nginx.conf @@ -47,9 +47,17 @@ server { server_name devuanfwojg73k6r.onion; - # see: https://onion.debian.org + location / { + autoindex off; + } + + location /merged { + autoindex on; + alias /srv/amprolla/merged; - rewrite /merged/pool/DEVUAN/(.*) http://devuanfwojg73k6r.onion/devuan/pool/$1; - rewrite /merged/pool/DEBIAN-SEC/(.*) http://sgvtcaew4bxjd7ln.onion/pool/$1; - rewrite /merged/pool/DEBIAN/(.*) http://vwakviie2ienjx6t.onion/debian/pool/$1; + # see: https://onion.debian.org + rewrite /merged/pool/DEVUAN/(.*) http://devuanfwojg73k6r.onion/devuan/pool/$1; + rewrite /merged/pool/DEBIAN-SEC/(.*) http://sgvtcaew4bxjd7ln.onion/pool/$1; + rewrite /merged/pool/DEBIAN/(.*) http://vwakviie2ienjx6t.onion/debian/pool/$1; + } }