Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uwsgi pass не раскрывает переменные?
- To: nginx-ru@xxxxxxxxx
- Subject: Re: uwsgi pass не раскрывает переменные?
- From: "Mitry Matyushkov" <nginx-forum@xxxxxxxx>
- Date: Mon, 27 May 2013 13:21:26 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=helium.jlkhosting.com; s=x; h=Date:Sender:From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=OxKGK/e/C7hR6erMmxQPFfNS2gkvGryTt2ABeNKDRqY=; b=pMr/lH6pGC7Eo0CjawyDUElociy0jddF5XzoD1hoWFvEXV4BrNl2bxTA2dyb/BqhwD92cKFIMX3AgylvPdTGke/DwNGY/5me0j3plerf1RuVD8l/UCmpAesS082Q4v9GE7jI+39Gf0ERd0ctyXF9V8EnNFXTUinAViYaVz+Ufzw=;
- In-reply-to: <20130527171044.GM72282@mdounin.ru>
- References: <20130527171044.GM72282@mdounin.ru>
Maxim Dounin Wrote:
-------------------------------------------------------
> Hello!
>
> On Mon, May 27, 2013 at 12:48:38PM -0400, Mitry Matyushkov wrote:
>
> > Привет всем.
> >
> > Перевожу проект на 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
> >
> > Как жить дальше?
>
> uwsgi_pass "${var}up";
Спасибо, помогло.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,239602,239603#msg-239603
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|