trying to fix 404 error

This commit is contained in:
Jeffrey Paul 2016-04-11 02:54:41 +02:00
parent 3876820591
commit 131f877494
2 changed files with 3 additions and 2 deletions

View File

@ -15,6 +15,7 @@ debmirror \
-h ${UBUNTU_MIRROR_SOURCE:-archive.ubuntu.com} \ -h ${UBUNTU_MIRROR_SOURCE:-archive.ubuntu.com} \
-d trusty,trusty-updates,trusty-security,trusty-backports \ -d trusty,trusty-updates,trusty-security,trusty-backports \
-d xenial,xenial-updates,xenial-security,xenial-backports \ -d xenial,xenial-updates,xenial-security,xenial-backports \
--ignore-small-errors \
-r /ubuntu \ -r /ubuntu \
--progress \ --progress \
--method=http \ --method=http \

View File

@ -13,7 +13,7 @@ http {
sendfile on; sendfile on;
keepalive_timeout 10; keepalive_timeout 10;
gzip off; gzip on;
# default, no host name # default, no host name
server { server {
@ -32,7 +32,7 @@ http {
} }
location /ubuntu/ { location /ubuntu/ {
root /var/mirror/ubuntu; root /var/mirror/ubuntu/;
autoindex on; autoindex on;
} }