Welcome! Log In Create A New Profile

Advanced

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

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

--
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
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: 207
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready