Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Include in upstream block
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
# nginx -v
nginx: nginx version: nginx/1.0.4
Нельзя в блоке upstream делать инклуды?
Есть workaround кроме как парсить сам конфиг?
Спасибо.
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|