Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37757931
en ru br
ALT Linux repos
S:1.0-alt2

Group :: Development/Other
RPM: nginx-apt-cache

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

## mkdir -p /mnt/mirror/altlinux; chown _nginx /mnt/mirror/altlinux

server {
listen localhost:80;
server_name localhost localhost.localdomain;

location /altlinux/ {
root /mnt/mirror;
error_page 404 = /fetch$uri;
error_page 403 = /fetch$uri;
}

location /fetch/altlinux/ {
internal;
proxy_pass http://ftp.altlinux.org/pub/distributions/ALTLinux/;
#proxy_pass http://ftp.linux.kiev.ua/pub/Linux/ALT/;
proxy_store /mnt/mirror/$request_uri;
proxy_store_access user:rw group:rw all:r;
}
}

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin