Инклюды конфигов по маске

Igor Sysoev is at rambler-co.ru
Tue Aug 23 14:45:08 MSD 2005


On Tue, 23 Aug 2005, Andrey Y. Ostanovsky wrote:

> Вот, пытаюсь сделать инклюды для виртуалхостов по той же схеме, что и у апача:
>
> include Includes/*.conf;
>
> # nginx -t
> 2005/08/23 11:59:30 [emerg] 95911#0: open() "/usr/local/etc/nginx/Includes/*.conf" failed (2: No such file or directory)
> 2005/08/23 11:59:30 [emerg] 95911#0: the configuration file "/usr/local/etc/nginx/nginx.conf" test failed
>
> # ls -la /usr/local/etc/nginx/Includes/
> -rw-r--r--  1 root  wheel    0 23 авг 11:59 empty.conf
>
> Вероятно, это как-то можно обойти, но в голову пока ничего не приходит.:(

include не понимает wildcards.


Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list