From: "Mykola S. Grechukh" <gns@altlinux.ru>
To: shigorin@gmail.com,
"ALT Linux Sisyphus discussion list"
<sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] hint: mirror on demand
Date: Wed, 22 Aug 2007 00:28:43 +0300
Message-ID: <a4ab440f0708211428x7c371e6ft4f27aa31d923b340@mail.gmail.com> (raw)
In-Reply-To: <20070821211934.GN8054@osdn.org.ua>
2007/8/22, Michael Shigorin <>:
> On Tue, Aug 21, 2007 at 10:45:00PM +0300, Mykola S. Grechukh wrote:
> > http://gns-ua.livejournal.com/114453.html
>
> Ух ты, вот же выпендрился. :-)
уже продолжение протестировал. Оказывается, можно выбор конкретного
апстрима оставить нгинксу:
location /sisyphus/ {
root /var/www/;
error_page 404 = /fetch$uri;
error_page 403 = /fetch$uri;
}
location /fetch/sisyphus/ {
proxy_pass http://ftp.linux.kiev.ua/pub/Linux/ALT/;
proxy_pass http://ftp.altlinux.org/pub/distributions/ALTLinux/;
proxy_store /var/www/$request_uri;
}
(между ними автобалансировка. Если разберусь с директивой upstream,
там есть явное задание приоритетов.)
next prev parent reply other threads:[~2007-08-21 21:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-21 19:45 Mykola S. Grechukh
2007-08-21 21:19 ` Michael Shigorin
2007-08-21 21:28 ` Mykola S. Grechukh [this message]
2007-08-22 4:25 ` Alexey Voinov
2007-08-22 4:27 ` Mykola S. Grechukh
2007-08-22 5:48 ` [sisyphus] q/p: /etc/altlinux/repos? (was: hint: mirror on demand) Michael Shigorin
2007-08-22 10:29 ` Alex Myltsev
2007-08-22 14:11 ` Alex Myltsev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a4ab440f0708211428x7c371e6ft4f27aa31d923b340@mail.gmail.com \
--to=gns@altlinux.ru \
--cc=shigorin@gmail.com \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git