nginx/nginx-devel из портов freebsd от 4-го июня

igor.goncharenko nginx-forum на nginx.us
Ср Июн 6 08:04:58 UTC 2012


Hi!

После коммита в порты от 4-го июня (до
4-го все ок) перестали работать
некоторые директивы:

nginx: [emerg] unknown directive "fastcgi_cache_path" in
/usr/local/etc/nginx/nginx.conf:39
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed

или

nginx: [emerg] unknown directive "proxy_cache" in
/usr/local/etc/nginx/nginx.conf:46
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed

при:
nginx.conf:
fastcgi_cache_path  /var/tmp/nginx/fastcgi  levels=1:2  
keys_zone=one:10m max_size=256m inactive=1d;
или
proxy_cache cache;

и
igor@$ nginx -V
nginx version: nginx/1.2.0
TLS SNI support enabled
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I
/usr/local/include' --with-ld-opt='-L /usr/local/lib'
--conf-path=/usr/local/etc/nginx/nginx.conf
--sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid
--error-log-path=/var/log/nginx-error.log --user=www --group=www
--with-debug
--http-client-body-temp-path=/var/tmp/nginx/client_body_temp
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp
--http-scgi-temp-path=/var/tmp/nginx/scgi_temp
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp
--http-log-path=/var/log/nginx-access.log --with-http_addition_module
--without-http-cache --with-http_realip_module
--with-http_secure_link_module --with-http_stub_status_module
--with-pcre --with-http_ssl_module



судя по всему, в "Most name of variables are shortened,
s/_MODULE_//g." где-то косяк.

---
Igor

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,227264,227264#msg-227264



Подробная информация о списке рассылки nginx-ru