From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Date: Mon, 1 Dec 2008 14:13:57 +0300 From: Alexander Volkov To: ALT Linux Team development discussions Message-ID: <20081201111357.GF12853@xeon.vladregion.ru> Mail-Followup-To: ALT Linux Team development discussions References: <20081130155756.GA32323@xeon.vladregion.ru> <20081130213213.GI19882@osdn.org.ua> <20081201070120.GB12853@xeon.vladregion.ru> <1228129539.7810.7.camel@kata> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1228129539.7810.7.camel@kata> User-Agent: Mutt/1.4.2.3i X-Spamd-Status: OK X-Spamd-Score: -2.000 X-Spamd-Threshold: 6.000 X-Spamd-Keywords: BAYES_00,NO_RELAYS Subject: Re: [devel] nginx as reverse proxy X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 11:14:01 -0000 Archived-At: List-Archive: List-Post: On 2008-12-01 14:05:39 +0300, Gennady Kovalev wrote: GK> В Пнд, 01/12/2008 в 10:01 +0300, Alexander Volkov пишет: GK> > Нет зеркала. это nginx as reverse proxy. GK> А кстати, кто и как синхронизирует cache от nginx? Всмысле мусор GK> устаревший чистит и обновляет закешированные индексы? GK> Дайте правильную командочку пожалуйста. У меня так: #!/bin/bash # script clears some files in nginx cache for apt find /var/www/html/altlinux/ -type d -name base -exec rm -rf '{}' \; # remove old files rsync -r --delete-before --existing rsync://ftp.altlinux.org/ALTLinux/ /var/www/html/altlinux/ -- Regards, Alexander