Welcome! Log In Create A New Profile

Advanced

Re: uwsgi pass не раскрывает переменные?

May 27, 2013 01:21PM
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";

Спасибо, помогло.
Subject Author Posted

Re: uwsgi pass не раскрывает переменные?

Maxim Dounin May 27, 2013 01:12PM

Re: uwsgi pass не раскрывает переменные?

Mitry Matyushkov May 27, 2013 01:21PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 80
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready