Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re:
  • From: <vasilii.alferov@xxxxxxxxx>
  • Date: Thu, 17 Jun 2010 19:53:26 +0600
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=3a1mWIfr4MTNyTR0Mu4xjcrjagpQHw9gw6qjvnKNPx4=; b=kPxtNVw1jU/ckmtY7DDu35+TmF7l8KilS6FP256E9p501yEwZprixKYzD3sTO/OezW l7E/4bFezjZtB/mtqSJDosbN6blp2qFGBqBaKzHL8HjRDr4zzA8nzsx4JlVNbv608RKB cop77N7sX/uZix7ANciJeyi1km7REymcsb3fk=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ef5uTi4VX6mNGPIwL/JpBJwipQ/DNQP8cFFoI4g9rhWlh5Z/itPlMaKdo/kmT1DNFa vig8KxIWILODPl3+EhH5QbdeAb6uhe5Hx6XP6KP+2afHM1Mb2YPWqmlbkcPx7sAtdZoe 2GUWkDbu5pqyzX6XmEQffwJiP4+9nsXwkYMG8=
  • In-reply-to: <20100617125516.GT80611@xxxxxxxxxxxxx>
  • References: <AANLkTinlnXj6W2kuwKs7vl9r26DL_pj4ZDwVWMAUajsF@xxxxxxxxxxxxxx> <20100617125516.GT80611@xxxxxxxxxxxxx>

.. ,

a1.twimg.com cname d2rdfnizen5apl.cloudfront.net, s.twimg.com
akamai
.

, resolver, IP?

2010/6/17 Igor Sysoev <igor@xxxxxxxxx>
On Thu, Jun 17, 2010 at 01:00:17PM +0600, wrote:

> .
> nginx.
>
> , .
> :
>
> "GET
> http://s.twimg.com/a/1276654401/images/default_profile_5_normal.pngHTTP/1.0",
> .
> s.twimg.com "GET
> /a/1276654401/images/default_profile_5_normal.png HTTP/1.0" :
>
> Server CloudFront
> Via 1.0 8e9a4ae768e6927d3d01697a4e6e1232.cloudfront.net:11180(CloudFront)
> Date Thu, 17 Jun 2010 05:53:39 GMT
> Connection close
> X-Amz-Cf-Id
> be57b17fcc523c0a3ecef717959faf719e589d78aa7b3f47d993f880bd79dc49de6122e53df4a7bd
> Content-Length 1222
> Content-Type text/html
> X-Cache Error from cloudfront
> Expires Thu, 17 Jun 2010 05:53:39 GMT
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
> http://www.w3.org/TR/html4/loose.dtd">
> <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;
> charset=iso-8859-1">
> <TITLE>ERROR: The requested URL could not be retrieved</TITLE>
> <STYLE
> type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
> </HEAD><BODY>
> <H1>ERROR</H1>
> <H2>The requested URL could not be retrieved</H2>
> <HR noshade size="1px">
> <P>
> While trying to retrieve the URL:
> <A
> HREF=""> > <P>
> The following error was encountered:
> <UL>
> <LI>
> <STRONG>
> Invalid URL
> </STRONG>
> </UL>
>
> <P>
> Some aspect of the requested URL is incorrect. Possible problems:
> <UL>
> <LI>Missing or incorrect access protocol (should be `http://'' or similar)
> <LI>Missing hostname
> <LI>Illegal double-escape in the URL-Path
> <LI>Illegal character in hostname; underscores are not allowed
> </UL>
> <P>Your cache administrator is <A HREF="" href="mailto:webmaster">webmaster">webmaster</A>.
>
> <BR clear="all">
> <HR noshade size="1px">
> <ADDRESS>
> Generated Thu, 17 Jun 2010 05:53:39 GMT by cloudfront (CloudFront)
> </ADDRESS>
> </BODY></HTML>
>
> , , .
>
> Nginx , :(
> - ?
>
> nginx version: nginx/0.7.65
> nginx:
> ------------------------
> upstream twitter_upstream {
> server s.twimg.com ;
> server a1.twimg.com backup ;
> }
> ------------------------
> location /stwimg/ {
> rewrite ^/stwimg/(.*)$ /$1 break;
> root /var/www/twimg;
> open_file_cache_errors off;
> log_not_found off;
> error_page 404 = /sfetch$uri;
> }
> location /sfetch/ {
> internal;
>
> rewrite ^/sfetch/(.*)$ /$1 break;
> proxy_pass http://twitter_upstream;
> open_file_cache_errors off;
>
> proxy_set_header Host "s.twimg.com";
>
> proxy_buffering on;
> proxy_buffers 32 16k;
>
> proxy_store on;
> proxy_temp_path /var/www/tmp;
> root /var/www/twimg;
> }
> ------------------------

, a1.twimg.com ,
s.twimg.com.


--

http://sysoev.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru

  • References:
      • From:
    • Re:
      • From: Igor Sysoev

 




Copyright © Lexa Software, 1996-2009.