nginx + lua broken

Yuriy Medvedev medvedev.yp на gmail.com
Пт Июн 10 05:51:19 UTC 2016


Hi, а модуль lua на месте?
10 июня 2016 г. 8:32 пользователь "Станислав" <server_inc на list.ru> написал:

> Здравствуйте,
>
> Подскажите пожалуйста чего это не работает:
>
>> # nginx -t
>> nginx: [emerg] unknown directive "content_by_lua" in
>> /usr/local/etc/nginx/virtual/kagdila.rooty.name.conf:51
>> nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
>>
>
> Nginx был собран с lua:
>
> # nginx -V
>> nginx version: nginx/1.10.1
>> built with OpenSSL 1.0.2h  3 May 2016
>> 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
>> --modules-path=/usr/local/libexec/nginx --with-file-aio --with-ipv6
>> --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
>> --with-http_auth_request_module --with-http_dav_module
>> --with-http_flv_module --with-http_gzip_static_module
>> --with-http_gunzip_module --with-http_mp4_module
>> --with-http_random_index_module --with-http_realip_module
>> --with-http_secure_link_module --with-http_slice_module
>> --with-http_stub_status_module --with-http_sub_module
>> --add-module=/usr/ports/www/nginx/work/ngx_devel_kit-0.2.19
>> --add-dynamic-module=/usr/ports/www/nginx/work/lua-nginx-module-0.10.5
>> --with-pcre --with-http_v2_module --with-stream=dynamic
>> --with-stream_ssl_module --with-threads --with-http_ssl_module
>>
>
> # pkg info nginx | grep -i lua
>>         LUA            : on
>>         libluajit-5.1.so.2
>>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru на nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru
----------- следущая часть -----------
Вложение в формате HTML было извлечено…
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20160610/0119ce5f/attachment.html>


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