|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
странная реакция на "backup"
- To: nginx-ru@xxxxxxxxx
- Subject: странная реакция на "backup"
- From: Илья Шипицин <chipitsine@xxxxxxxxx>
- Date: Mon, 21 Mar 2011 13:07:46 +0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=ArAjnQ44uyvaxRy588QCeXET+TfWelB8yqLQcZ8EqpA=; b=Oc6pgJlOROC0tf3vcfy5lhZWeFt+h66yIWQ1IjI/lZeAhSB8+FPxDALuOjmP/6Wqhw yL3KPrWCXtZxO5vObWsXclTABmZmi18RanRDoFS7sARNri3IE0LYPGNF+WGRrzYQvgbu T5gX3sZEEi+W1uRKrvk4zkp2JK/mxw//suts4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nrcHq3s6aQ8aI+3K10e/plWHlrhgrahc5bEBRLDHAVxyVKokqZn955mlh4hOEP4SPb 56XHWzUb4q04GKtLjdtqDTh46LNw3swkgSvJI+7lnfqVFVs6rbXLe4jBJm++rm/z9hIL ExwZmQjl23G6VH1PI1WfzkS40rn2WYD7qMKfU=
Добрый день!
если делаю такую конфигурацию (первая) - все работает
upstream dd { ip_hash; server 192.168.7.29:27183; # vm-xxx server 192.168.5.206:27183 down; vm-xxx1
}
server { listen 447; include ssl-include;
keepalive_timeout 70;
access_log /var/log/nginx/dd-access.log;
location / { proxy_connect_timeout 5;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host xxx.xxx.xxx; proxy_cache off;
proxy_pass http://dd;
}
}
если такую конфигурацию (меняю down на backup) - ругается
upstream dd {
ip_hash;
server 192.168.7.29:27183; # vm-xxx
server 192.168.5.206:27183 backup; vm-xxx1
}
server {
listen 447;
include ssl-include;
keepalive_timeout 70;
access_log /var/log/nginx/dd-access.log;
location / {
proxy_connect_timeout 5;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host xxx.xxx.xxx;
proxy_cache off;
proxy_pass http://dd;
}
}
app15:~# nginx -t [emerg]: invalid parameter "backup" in /etc/nginx/dd/dd-api:4 configuration file /etc/nginx/nginx.conf test failed app15:~#
в чем подвох ?
Илья Шипицин
P.S. "xxx" - это забивка наших названий, это не порно-сервер :-)
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|
|
|