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: Aleksandr Sytar <sytar.alex@xxxxxxxxx>
  • Date: Thu, 17 Jun 2010 15:15:07 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=4P94dd4DficaMdQ2YNkJD/utdYdDCvLu0cHyBJ5GzQA=; b=VGGuU5zDCAo27+YGONLRyJLP8EFhGrRLDv2yeZkzKQYlfRvQT+JOSWjEwv61cGVsT8 aNVH0ohcdVwb3oEtLcFSvFArghZazyoddQgPT9gzKVFkOLWBdAdJTWiJnz1KylrjD3wC DaxEcj4M8xO0XBpzBgSmH4UcXfoCFOue01DO8=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=TLlWy6pKkrLPUzfOXuQpMWCtmq7+Jg2eCtGBmPEzIELKup7bwknLlcX/tA+IsocY5R uv11g2pYqXV///v/DAOzixA7WHRT1zjc97v2uxD9ZaeLiwy5daPV3/cWVxA/a4TxNojG YykXXwZeGq7+dmtYqmEA8OOMsHRHfm+6FB1M0=
  • In-reply-to: <AANLkTinlnXj6W2kuwKs7vl9r26DL_pj4ZDwVWMAUajsF@xxxxxxxxxxxxxx>
  • References: <AANLkTinlnXj6W2kuwKs7vl9r26DL_pj4ZDwVWMAUajsF@xxxxxxxxxxxxxx>

     URL?  URL   

-HREF="a/1276654401/images/default_profile_5_normal.png"
+HREF="http://s.twimg.com/a/1276654401/images/default_profile_5_normal.png";


17  2010 . 11:00   
<vasilii.alferov@xxxxxxxxx> :
>          .
>            nginx.
>
>   ,      .
>         :
>
>   "GET
> http://s.twimg.com/a/1276654401/images/default_profile_5_normal.png
> HTTP/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="a/1276654401/images/default_profile_5_normal.png">a/1276654401/images/default_profile_5_normal.png</A>
> <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="mailto: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;
>  }
> ------------------------
>
>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://nginx.org/mailman/listinfo/nginx-ru
>
>



-- 
Have a nice day
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru

  • Follow-Ups:
  • References:
      • From:

 




Copyright © Lexa Software, 1996-2009.