ðòïåëôù 


  áòèé÷ 


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]

ÏÂÎÏ×ÌÅÎÉÅ ÄÏ 0.7.52


  • To: <nginx-ru@xxxxxxxxx>
  • Subject: ÏÂÎÏ×ÌÅÎÉÅ ÄÏ 0.7.52
  • From: ÷ÑÞÅÓÌÁ× (óôYDéñ áòô-Déúáêî) <first@xxxxxxxxxx>
  • Date: Mon, 27 Apr 2009 12:09:12 +0400
  • Importance: Normal

äÏÂÒÙÊ ÄÅÎØ, ÓÏÏÂÝÅÓÔ×Ï!

 

ïÂÎÏ×ÌÑÀ Ó 0.7.51 ÄÏ 0.7.52

 

ðÒÉ ÏÔÐÒÁ×ËÅ ÓÉÇÎÁÌÁ USR2 ÇÌÁ×ÎÏÍÕ ÐÒÏÃÅÓÓÕ – ÏÎ ÎÅ ÐÅÒÅÉÍÅÎÏ×Ù×ÁÅÔ Ó×ÏÊ ÆÁÊÌ Ó ÎÏÍÅÒÏÍ ÐÒÏÃÅÓÓÁ

[root@s0 nginx-0.7.52]# kill -USR2 `cat /usr/local/nginx/logs/nginx.pid`

 

× error.log

2009/04/27 12:02:26 [notice] 11989#0: using inherited sockets from "6;"

 

åÝÅ × error.log š0.7.51

2009/04/27 12:02:26 [emerg] 11989#0: "proxy_cache_path" directive is not allowed here in /usr/local/nginx/conf/nginx.conf:141

 

Á × nginx.conf:

 

server {

ššššššš listenššššššš 80;

ššššššš server_namešš www.site.ru;

 

ššššššš proxy_cache_path /tmp/nginx levels=1:2 keys_zone=site:20m;

 

ššššššš location / {

ššššššššššš proxy_cache site;

ššššššššššš proxy_cache_validš 200 302š 30m;

ššššššššššš proxy_cache_validš 404ššššš 1m;

ššššššššššš proxy_cache_use_stale error timeout invalid_header http_500 http_502 http_503 http_504;

 

ššššššššššš proxy_passšššššššš http://127.0.0.1:8080;

ššššššššššš 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;

ššššššš }

ššš }

 

 

--

ó Õ×ÁÖÅÎÉÅÍ, ÷ÑÞÅÓÌÁ×

 

 



 




Copyright © Lexa Software, 1996-2009.