June 06, 2012 04:04AM
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
Subject Author Posted

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

igor.goncharenko June 06, 2012 04:04AM

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

igor.goncharenko June 06, 2012 04:15AM

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

Maxim Dounin June 06, 2012 04:58AM

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

igor.goncharenko June 06, 2012 09:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 214
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready