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 целиком.