Непонятная проблема

Михаил Митрофанов m.mitrofanov at elec-co.ru
Thu Dec 6 15:18:32 MSK 2007


Добрый день!
 
Есть в конфиге:
 
/etc/nginx/http.d/elec.conf
1. ### Elec.ru
2. 
3.   upstream elec_new {
4.     server srv2:8101  weight=1  fail_timeout=30;
5.     server srv3:8101  weight=1  fail_timeout=30;
6.     server srv1:8101  backup;
7.   }
8. 
9.   upstream elec_old {
10.    server srv2:8102  weight=1  fail_timeout=30;
11.    server srv3:8102  weight=1  fail_timeout=30;
12. }

nginx выдает ошибку:
[emerg] 5948#0: invalid parameter "backup" in /etc/nginx/http.d/elec.conf:6
 
nginx version: nginx/0.5.33
 
Как лечить?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20071206/2f682911/attachment.html>


More information about the nginx-ru mailing list