ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ильфат <ilfat_g@rambler.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Использование nginx как кэширующего прокси для APT
Date: Wed, 07 May 2008 03:13:26 +0400
Message-ID: <4820E616.3040401@rambler.ru> (raw)
In-Reply-To: <48207A7F.7040108@rambler.ru>

Почему то у меня в кэше nginx ничего кроме файлов release и 
release.classic не сохранятся.
Вроде все делал как написано.
Вот мой nginx.conf:
worker_processes  10;

error_log   /var/log/nginx/error.log;

events {
    worker_connections  1024;
}

http {
    proxy_temp_path /var/spool/nginx/tmp/proxy;
    fastcgi_temp_path /var/spool/nginx/tmp/fastcgi;
    client_body_temp_path /var/spool/nginx/tmp/client;

    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;

    sendfile  on;
   
    gzip  on;

    # text/html don't need to be defined there, it always compressed
    gzip_types text/plain text/css text/xml application/x-javascript 
application/atom+xml;

    # gzip_comp_level 9;

    server {
        listen  localhost:80;
        server_name my_server;
   
location /altlinux/ {
        root /var/www/;
        error_page 404 = /fetch$uri;
}

location /fetch/altlinux/alt/ {
        internal;
        proxy_pass http://ftp.altlinux.org/;
        proxy_store /var/www/$request_uri;
}

#        charset         on;
#        source_charset  koi8-r;

        access_log  /var/log/nginx/access.log;
    }

}


  reply	other threads:[~2008-05-06 23:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-06 13:34 Ильфат
2008-05-06 13:44 ` Timur Batyrshin
2008-05-06 15:34   ` Ильфат
2008-05-06 23:13     ` Ильфат [this message]
2008-05-07  0:35       ` Ильфат

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=4820E616.3040401@rambler.ru \
    --to=ilfat_g@rambler.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git