Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
uwsgi pass не раскрывает переменные?
- To: nginx-ru@xxxxxxxxx
- Subject: uwsgi pass не раскрывает переменные?
- From: "Mitry Matyushkov" <nginx-forum@xxxxxxxx>
- Date: Mon, 27 May 2013 12:48:38 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=helium.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=W2u+DtKvB1Vzn9sS2QzRtkQy38f/w5IRWKPdgoJN8UY=; b=ZDCUAaXEDW/UmVmkGJmkB3q78l++lykdDbMnCHkP6p7jIHAyzjAfHSp4KCoTq9ZYcVANZC+TGvw1JEkzO9FZm5eGEJIZr6K6QKZU0HWAqGeq2JusxJ80PjD+gH3yzMydaPRKb4OUg0eShq74m+LysV4/Zv4A+dlkrmXQkfM7ZD4=;
Привет всем.
Перевожу проект на uwsgi, столкнулся с фичей:
upstream up {
server 127.0.0.1:12345;
}
proxy_pass http://${var}up;
работает, но при замене на:
uwsgi_pass ${var}up;
получаю:
nginx -t
nginx: [emerg] directive "uwsgi_pass" is not terminated by ";" in
/etc/nginx/includes/proxy.conf:9
Как жить дальше?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,239598,239598#msg-239598
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|