Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Include in upstream block
Today Aug 16, 2011 at 15:26 Sergey Kobzar wrote:
> upstream backend {
> include /etc/nginx/backend.conf;
> }
>
> # nginx -t
> nginx: [emerg] "include" directive is not allowed here in
> /etc/nginx/nginx.conf:37
> nginx: configuration file /etc/nginx/nginx.conf test failed
>
> Нельзя в блоке upstream делать инклуды?
> Есть workaround кроме как парсить сам конфиг?
Делать include блока upstream целиком.
--
WNGS-RIPE
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|