diff --git a/mirror/syncubuntu.sh b/mirror/syncubuntu.sh index 2627013..c3cea04 100755 --- a/mirror/syncubuntu.sh +++ b/mirror/syncubuntu.sh @@ -15,6 +15,7 @@ debmirror \ -h ${UBUNTU_MIRROR_SOURCE:-archive.ubuntu.com} \ -d trusty,trusty-updates,trusty-security,trusty-backports \ -d xenial,xenial-updates,xenial-security,xenial-backports \ + --ignore-small-errors \ -r /ubuntu \ --progress \ --method=http \ diff --git a/nginx.conf b/nginx.conf index 480cf3b..c52cd00 100644 --- a/nginx.conf +++ b/nginx.conf @@ -13,7 +13,7 @@ http { sendfile on; keepalive_timeout 10; - gzip off; + gzip on; # default, no host name server { @@ -32,7 +32,7 @@ http { } location /ubuntu/ { - root /var/mirror/ubuntu; + root /var/mirror/ubuntu/; autoindex on; }