ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
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


 




Copyright © Lexa Software, 1996-2009.