ðòïåëôù 


  áòèé÷ 


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: Vitaliy Lisenko <vlisenko.3s@xxxxxxxxx>
  • Date: Wed, 18 May 2011 16:47:57 +0700
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=Cq24pUbsGL6oY9tqfKRvfcV983bu2G80bbWwGa8VRCE=; b=fZPe7TdYVoHer0gugl6M4np5ZFxdKycEAI/XE2HMOmt0cUFF7OPHAc7K/Qi6O0CRzl GYixuYFbdWPbJ1oGLBhSQqvgXviLByyAi2QYtwy0reT44xC00pMG1CsDhOqEkFisUxTj HiaqUR1WwPD1I8dqo/1Y+Cqn4F8gdaZ6urh+Q=
  • 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:content-transfer-encoding; b=NvloMoDgmCYFCVdqS+9K+hotzbSJj9W+jrGAOrrUqEYyZPWW0gFxf6Ve1RXFyjnxNi 9M4NGJHxw+ux9CoJ3ry6KJa5KP2RydiMY90Anbw05resLIPEy0GNa31XjqxDcupmuPLb eYx2yaTvsAm4Fc8AV9xkiUY7yBdZBtQbh+s/s=
  • In-reply-to: <B9104DBD-42EE-4976-9F81-9C085745770C@xxxxxxxxx>
  • References: <921CB1BD-9C1A-488A-A2B1-1390C66660A4@xxxxxxxxx> <B9104DBD-42EE-4976-9F81-9C085745770C@xxxxxxxxx>

ÍÏÖÅÔ Set-Cookie  ËÅÛÉÌËÅ ÎÅ ÎÒÁ×ÉÔÓÑ?



18 ÍÁÑ 2011šÇ. 16:15 ÐÏÌØÚÏ×ÁÔÅÌØ ÷ÁÌÅÒÁ èÁÒÓÅËÏ <vharseko@xxxxxxxxx> ÎÁÐÉÓÁÌ:
> ÎÅÔ ÎÉ Õ ËÏÇÏ ÍÙÓÌÅÊ ?
>
> ×ÏÔ ÐÒÉÍÅÒÙ ÏÔ×ÅÔÏ× ÂÜËÅÎÄÁ, ËÏÔÏÒÙÊ nginx ÎÅ ËÌÁÄÅÔ × ËÅÛ:
>
>> š š š šlocation ~* ^.*/image\.flag\.aspx$ {
>> š š š š š š š šproxy_pass š š š š š š šhttp://shops;
>> š š š š š š š šproxy_cache š š š š š š TST;
>> š š š š š š š šproxy_cache_key š š š š $request_uri;
>> š š š š š š š šproxy_cache_valid š š š 200 30d;
>> š š š š}
>
> HTTP/1.1 200 OK
> Cache-Control: public
> Content-Type: image/gif
> Last-Modified: Wed, 18 May 2011 08:52:18 GMT
> Server: Microsoft-IIS/7.5
> Set-Cookie: countrycode2=ru; expires=Sun, 18-May-2014 08:52:18 GMT; path=/
> X-AspNet-Version: 4.0.30319
> Date: Wed, 18 May 2011 08:52:18 GMT
> Content-Length: 962
>
>
>> location /yml.xml {
>> š š š š š š š šproxy_pass š š š š š š šhttp://shops;
>> š š š š š š š šproxy_cache š š š š š š TST;
>> š š š š š š š šproxy_cache_key š š š š $host$request_uri;
>> š š š š š š š šproxy_cache_valid š š š 200 1d;
>> š š š š}
>
> HTTP/1.1 200 OK
> Cache-Control: private
> Transfer-Encoding: chunked
> Content-Type: text/xml; charset=utf-8
> Content-Encoding: gzip
> Expires: Thu, 19 May 2011 08:55:55 GMT
> Last-Modified: Wed, 18 May 2011 08:55:55 GMT
> Vary: Accept-Encoding
> Server: Microsoft-IIS/7.5
> Set-Cookie: ix_person_guid=708dff8a-d62a-4db5-a1dc-1b3970bd10ca; expires=Wed, 
> 18-May-2016 08:55:55 GMT; path=/; HttpOnly
> Content-Disposition: attachment; filename=yml.xml;
> X-AspNet-Version: 4.0.30319
> Date: Wed, 18 May 2011 08:56:27 GMT
>
> Á ×ÏÔ ÜÔÉ ËÌÁÄÅÔ:
>
>> š š š šlocation ~* ^.+\.(jpg|jpeg|gif|js|css|doc|ico|cur|png)$ {
>> š š š š š š š šproxy_pass š š š š š š šhttp://shops;
>> š š š š š š š šproxy_cache š š š š š š SHOPS;
>> š š š š š š š šproxy_cache_key š š š š $host$request_uri;
>> š š š š š š š šproxy_cache_valid š š š 200 30d;
>> š š š š}
>
> HTTP/1.1 200 OK
> Cache-Control: public
> Content-Type: image/png
> Last-Modified: Wed, 18 May 2011 08:52:18 GMT
> Server: Microsoft-IIS/7.5
> X-AspNet-Version: 4.0.30319
> Date: Wed, 18 May 2011 08:52:18 GMT
> Content-Length: 17198
>
> 18.05.2011, × 0:31, ÷ÁÌÅÒÁ èÁÒÓÅËÏ ÎÁÐÉÓÁÌ(Á):
>
>> úÁÍÅÔÉÌ, ÞÔÏ ÎÅ ×ÅÓØ ËÏÎÔÅÎÔ ËÅÛÉÒÕÅÔÓÑ ËÁË ÚÁÄÁÎÏ ÄÉÒÅËÔÉ×ÁÍÉ, ÎÁÐÒÉÍÅÒ 
>> ÚÏÎÁ SHOPS ÒÁÂÏÔÁÅÔ Á TST ÐÕÓÔÁÑ (ÓÄÅÌÁÎÁ ÄÌÑ ÕÄÏÂÓÔ×Á ÐÒÏ×ÅÒËÉ)
>> äÕÍÁÀ, ÞÔÏ ÄÅÌÏ × ÏÔ×ÅÔÎÙÈ ÚÁÇÏÌÏ×ËÁÈ ÉÌÉ × ÉÈ ÏÔÓÕÔÓÔ×ÉÉ ÏÔ ÂÜËÅÎÄÁ.
>> ëÁËÉÅ ÉÍÅÎÎÏ ÚÁÇÏÌÏ×ËÉ ÐÒÏ×ÅÒÑÔØ ?
>>
>>
>> proxy_cache_path /var/cache/nginx/shop levels=1:2 keys_zone=SHOPS:1024m 
>> inactive=3d max_size=20g;
>> proxy_cache_path /var/cache/nginx/TST2 levels=1:2 keys_zone=TST:1024m 
>> inactive=3d max_size=20g;
>>
>> š š š šlocation ~* ^.*/img.+\.png$ {
>> š š š š š š š šproxy_pass š š š š š š šhttp://shops;
>> š š š š š š š šproxy_cache š š š š š š SHOPS;
>> š š š š š š š šproxy_cache_key š š š š $host$request_uri;
>> š š š š š š š šproxy_cache_valid š š š 200 10d;
>> š š š š}
>> š š š šlocation ~* ^.+\.(jpg|jpeg|gif|js|css|doc|ico|cur|png)$ {
>> š š š š š š š šproxy_pass š š š š š š šhttp://shops;
>> š š š š š š š šproxy_cache š š š š š š SHOPS;
>> š š š š š š š šproxy_cache_key š š š š $host$request_uri;
>> š š š š š š š šproxy_cache_valid š š š 200 30d;
>> š š š š}
>> š š š šlocation ~* ^.*/image\.flag\.aspx$ {
>> š š š š š š š šproxy_pass š š š š š š šhttp://shops;
>> š š š š š š š šproxy_cache š š š š š š TST;
>> š š š š š š š šproxy_cache_key š š š š $request_uri;
>> š š š š š š š šproxy_cache_valid š š š 200 30d;
>> š š š š}
>> š š š šlocation /yml.xml {
>> š š š š š š š šproxy_pass š š š š š š šhttp://shops;
>> š š š š š š š šproxy_cache š š š š š š TST;
>> š š š š š š š šproxy_cache_key š š š š $host$request_uri;
>> š š š š š š š šproxy_cache_valid š š š 200 1d;
>> š š š š}
>> š š š šproxy_redirect š š š š š š off;
>> š š š šproxy_set_header š š š š š Host š š š š š š $host;
>> š š š šproxy_set_header š š š š š X-Real-IP š š š š$remote_addr;
>> š š š šproxy_set_header š š š š š X-Forwarded-For š
>> $proxy_add_x_forwarded_for;
>> š š š šproxy_connect_timeout š š š70;
>> š š š šproxy_send_timeout š š š š 90;
>> š š š šproxy_read_timeout š š š š 600;
>> š š š šproxy_buffering š š š š š šon;
>> š š š šproxy_cache š š š š š š š šoff;
>> š š š šproxy_buffer_size š š š š š4k;
>> š š š šproxy_buffers š š š š š š š4 32k;
>> š š š šproxy_busy_buffers_size š š64k;
>> š š š šproxy_temp_file_write_size 64k;
>> š š š šproxy_temp_path š š š š š š/var/cache/nginx/proxy_temp 1 2 3;
>> š š š šproxy_ignore_client_abort šoff;
>> š š š šproxy_intercept_errors š š on;
>> š š š šproxy_cache_use_stale š š šerror updating timeout invalid_header 
>> http_500 http_502 http_503 http_504;
>>
>> š š š šclient_max_body_size š š š 10m;
>> š š š šclient_body_buffer_size š š128k;
>> š š š šclient_body_temp_path š š š/var/cache/nginx/client_body_temp 1 2 
>> 3;_______________________________________________
>> 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
>
>
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.