Проблема с присваиванием upstream переменной
Taras Murashko
taras.murashko at gmail.com
Tue Jun 9 12:53:55 MSD 2009
При присваивании upstream переменной
upstream example {
server 127.0.0.1:6500;
server 127.0.0.1:6510;
}
server {
listen *:85;
server_name localhost;
set $backend example;
location / {
fastcgi_pass $backend;
include fcgi_params;
}
}
возникает ошибка
2009/06/09 11:38:05 [error] 5323#0: *9 no port in upstream "example",
client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", host: "
example.com:85"
В чем мождет быть проблема?
версия nginx 0.7.59
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20090609/c1decd2f/attachment.html>
More information about the nginx-ru
mailing list