Compare commits
3 Commits
c549c75107
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| b4c6017871 | |||
| 6f8da3c8e4 | |||
| caece7197d |
@@ -8,6 +8,7 @@ ENV UBUNTU_MIRROR_ARCHITECTURES amd64
|
||||
ENV UBUNTU_ENABLE_SOURCE_MIRRORING false
|
||||
ENV UBUNTU_MIRROR_CATEGORIES main,universe,restricted,multiverse,main/debian-installer
|
||||
ENV UBUNTU_MIRROR_UPSTREAM archive.ubuntu.com
|
||||
ENV UBUNTU_MIRROR_UPSTREAM_PATH /ubuntu
|
||||
ENV UBUNTU_MIRROR_PROJECTS bionic,bionic-updates,bionic-security,bionic-backports,focal,focal-updates,focal-security,focal-backports
|
||||
|
||||
# The following is the URL populated in /mirrors.txt as used by mirror://
|
||||
|
||||
2
mirror/syncubuntu.sh
Executable file → Normal file
2
mirror/syncubuntu.sh
Executable file → Normal file
@@ -32,7 +32,7 @@ while [[ $DONE -eq 0 ]]; do
|
||||
--di-dist="$DIDIST" \
|
||||
--di-arch=arches \
|
||||
--ignore-small-errors \
|
||||
-r /ubuntu \
|
||||
-r "$UBUNTU_MIRROR_UPSTREAM_PATH" \
|
||||
--getcontents \
|
||||
--progress \
|
||||
--method=http \
|
||||
|
||||
@@ -33,12 +33,12 @@ http {
|
||||
|
||||
index index.html index.htm;
|
||||
|
||||
#location /ubuntu/ {
|
||||
location /ubuntu/ {
|
||||
# # alias, not root!
|
||||
# # trailing slash important!
|
||||
# alias /var/mirror/ubuntu/;
|
||||
# autoindex on;
|
||||
#}
|
||||
autoindex on;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user