Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nginx-0.6.7
Igor Sysoev пишет:
Изменения в nginx 0.6.7 15.08.2007
*) Изменение: теперь пути, указанные в директивах include,
auth_basic_user_file, perl_modules, ssl_certificate,
ssl_certificate_key и ssl_client_certificate, определяются
относительно каталогу конфигурационного файла nginx.conf, а не
относительно префиксу.
я так понимаю, поэтому при конфиг-тесте перестали работать пути с ./
/usr/local/nginx/conf/ldic# ../../sbin/nginx -V
nginx version: nginx/0.6.7
built by gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
configure arguments: --with-cpu-opt=pentiumpro --with-http_stub_status_module
/usr/local/nginx/conf/ldic# ../../sbin/nginx -t -c ./nginx.conf.gen3
2007/08/20 01:06:04 [emerg] 11596#0: open()
"/usr/local/nginx/conf/./nginx.conf.gen3" failed (2: No such file or directory)
2007/08/20 01:06:04 [emerg] 11596#0: the configuration file
/usr/local/nginx/conf/./nginx.conf.gen3 test failed
/usr/local/nginx/conf/ldic# ../../sbin/nginx -t -c ldic/nginx.conf.gen3
2007/08/20 01:01:44 [info] 8160#0: the configuration file
/usr/local/nginx/conf/ldic/nginx.conf.gen3 syntax is ok
2007/08/20 01:01:44 [info] 8160#0: the configuration file
/usr/local/nginx/conf/ldic/nginx.conf.gen3 was tested successfully
/usr/local/nginx/conf/ldic# ../../sbin/nginx -t -c
/usr/local/nginx/conf/ldic/nginx.conf.gen3
2007/08/20 01:07:56 [info] 13003#0: the configuration file
/usr/local/nginx/conf/ldic/nginx.conf.gen3 syntax is ok
2007/08/20 01:07:56 [info] 13003#0: the configuration file
/usr/local/nginx/conf/ldic/nginx.conf.gen3 was tested successfully
это баг или фича?
|