ðòïåëôù 


  áòèé÷ 


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: ëÅÛÉÒÏ×ÁÎÉÅ ÓÅÓÓÉÊ php ngin x.


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: ëÅÛÉÒÏ×ÁÎÉÅ ÓÅÓÓÉÊ php ngin x.
  • From: Chubarov Andrey <stitrace@xxxxxxxxx>
  • Date: Thu, 12 May 2011 17:31:48 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=bKwu7Optu/k84YPu2PbkEKXQqcoNBUTaEVk4UoRM43o=; b=kjtUlfnXR8mLnzAATisdRd4YqKJCpG+bZDcI5UBvjBS7UHI/grGtKwOpY8eSszKMV5 ZlQ3jB/RuGNSEZGhwEBbbyEJ4o19QKv/ZOuYUuLAi56xSudVShOMBlXF65HyUKfu8+qQ asnnC7pgUSldP6yPD24RNvjqfbgggtLKyUOVA=
  • 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=DC+3AAq9CCYRdY04ytC9G+jumJ4TzVprZpEk+bsbrp8TjBU2KixNW2HTRTM4lEox1i 7kcDFAi5TUN8/kp+mQHcBRfFWdX8C9zWVteBBdNI/QoH2mZlLwfZ1rm+/fFaudWJ6WUR pK+Qn+cdvlslV45GmMf7KOddCYi0dGvaUckTA=
  • In-reply-to: <4090354de8c6e01ffce362580a2ceb74.NginxMailingListRussian@xxxxxxxxxxxxxxx>
  • References: <4090354de8c6e01ffce362580a2ceb74.NginxMailingListRussian@xxxxxxxxxxxxxxx>

proxy_cache_key "$request_method|$is_args|$host|$request_uri|$cookie_PHPSESSID";

PHPSESSID - ÐÒÏ×ÅÒÉÌ ÎÁÌÉÞÉÅ ÐÁÒÁÍÅÔÒÁ ÜÔÏÇÏ × ËÕËÁÈ?
ðÅÒ×ÏÊ ÓÔÒÏËÏÊ × ËÜÛ-ÆÁÊÌÁÈ ÞÔÏ ÉÄ£Ô?

12 ÍÁÑ 2011šÇ. 16:20 ÐÏÌØÚÏ×ÁÔÅÌØ taurrus <nginx-forum@xxxxxxxx> ÎÁÐÉÓÁÌ:
> Nginx ÎÁÓÔÒÏÅÎ ËÁË ÐÒÏËÓÉÒÕÀÝÉÊ ÓÅÒ×ÅÒ
> ÄÌÑ ×ÎÕÔÒÅÎÎÅÇÏ apache. îÕÖÎÏ ËÅÛÉÒÏ×ÁÔØ
> ËÏÎÔÅÎÔ ÄÌÑ ÎÅÚÁÒÅÇÉÓÔÒÉÒÏ×ÁÎÎÙÈ
> ÐÏÌØÚÏ×ÁÔÅÌÅÊ É ÄÌÑ
> ÚÁÒÅÇÉÓÔÒÉÒÏ×ÁÎÎÙÈ. ðÒÏÂÌÅÍÁ × ÔÏÍ ÞÔÏ
> ÎÅ ÕÄÁÅÔÓÑ ÎÁÓÔÒÏÉÔØ ÒÁÚÄÅÌØÎÏÅ
> ËÅÛÉÒÏ×ÁÎÉÅ. ôÏ ÅÓÔØ
> ÎÅÚÁÒÅÇÉÓÔÒÉÒÏ×ÁÎÎÙÍ ÐÏÌØÚÏ×ÁÔÅÌÑÍ
> ÏÔÄÁÀÔÓÑ ÓÔÒÁÎÉÃÙ ÄÌÑ
> ÚÁÒÅÇÉÓÔÒÉÒÏ×ÁÎÎÙÈ...
> ÷ÅÒÓÉÑ nginx 0.7.67.
> îÁÓÔÒÏÊËÉ ÈÏÓÔÁ:
>
> š š š š š š š šproxy_cache name_cache;
> š š š š š š š šproxy_cache_min_uses 1;
> š š š š š š š šproxy_cache_valid 200 301 302 304 5m;
> š š š š š š š šproxy_cache_use_stale http_503;
> š š š š š š š šproxy_no_cache š $http_pragma š š $http_authorization;
> š š š š š š š šproxy_cache_key
> "$request_method|$is_args|$host|$request_uri|$cookie_PHPSESSID";
> š š š š š š š šopen_file_cache max=10000 inactive=24h;
> š š š š š š š šopen_file_cache_valid 5m;
> š š š š š š š šopen_file_cache_min_uses 5;
> š š š š š š š šexpires 24h;
>
> š š š š š š š šlocation / {
> š š š š š š š š š š š š š š š šproxy_pass http://apche/;
> š š š š š š š š š š š š š š š š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_set_header šCookie š$http_cookie;
> š š š š š š š š š š š š š š š šproxy_set_header šIf-Modified-Since
> "";
> š š š š š š š š š š š š š š š šproxy_set_header šIf-None-Match
> "";
> š š š š š š š š š š š š š š š šproxy_pass_header Cookie;
> š š š š š š š š š š š š š š š šproxy_pass_header Set-Cookie;
> š š š š š š š š š š š š š š š šproxy_ignore_headers Cache-Control
> Expires;
> š š š š š š š š š š š š š š š šclient_max_body_size 100m;
> š š š š š š š š š š š š š š š šclient_body_buffer_size 128k;
> š š š š š š š š š š š š š š š šproxy_connect_timeout 90;
> š š š š š š š š š š š š š š š šproxy_send_timeout 90;
> š š š š š š š š š š š š š š š šproxy_read_timeout 90;
> š š š š š š š š š š š š š š š šproxy_buffer_size 8k;
> š š š š š š š š š š š š š š š šproxy_buffers 8 64k;
> š š š š š š š š š š š š š š š šproxy_busy_buffers_size 64k;
> š š š š š š š š š š š š š š š šproxy_temp_file_write_size 10m;
>
> š š š š š š š šerror_page š400 402 403 404 405 š/error/400/400.html;
> š š š š š š š šerror_page š500 501 502 503 504 š/error/500/500.html;
> š š š š š š š š š š š š š š}
>
> Posted at Nginx Forum: 
> http://forum.nginx.org/read.php?21,197583,197583#msg-197583
>
>
> _______________________________________________
> 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.