<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Такое есть:<br>
<br>
<blockquote type="cite"># ls -la
/usr/local/libexec/nginx/ngx_http_lua_module.so<br>
-r-xr-xr-x 1 root wheel 336032 10 июн 07:59
/usr/local/libexec/nginx/ngx_http_lua_module.so</blockquote>
<br>
# pkg info -l luajit-2.0.4<br>
luajit-2.0.4:<br>
/usr/local/bin/luajit<br>
/usr/local/bin/luajit-2.0.4<br>
/usr/local/include/luajit-2.0/lauxlib.h<br>
/usr/local/include/luajit-2.0/lua.h<br>
/usr/local/include/luajit-2.0/lua.hpp<br>
/usr/local/include/luajit-2.0/luaconf.h<br>
/usr/local/include/luajit-2.0/luajit.h<br>
/usr/local/include/luajit-2.0/lualib.h<br>
/usr/local/lib/libluajit-5.1.a<br>
/usr/local/lib/libluajit-5.1.so<br>
/usr/local/lib/libluajit-5.1.so.2<br>
/usr/local/lib/libluajit-5.1.so.2.0.4<br>
/usr/local/libdata/pkgconfig/luajit.pc<br>
/usr/local/man/man1/luajit.1.gz<br>
/usr/local/share/luajit-2.0.4/jit/bc.lua<br>
/usr/local/share/luajit-2.0.4/jit/bcsave.lua<br>
/usr/local/share/luajit-2.0.4/jit/dis_arm.lua<br>
/usr/local/share/luajit-2.0.4/jit/dis_mips.lua<br>
/usr/local/share/luajit-2.0.4/jit/dis_mipsel.lua<br>
/usr/local/share/luajit-2.0.4/jit/dis_ppc.lua<br>
/usr/local/share/luajit-2.0.4/jit/dis_x64.lua<br>
/usr/local/share/luajit-2.0.4/jit/dis_x86.lua<br>
/usr/local/share/luajit-2.0.4/jit/dump.lua<br>
/usr/local/share/luajit-2.0.4/jit/v.lua<br>
/usr/local/share/luajit-2.0.4/jit/vmdef.lua<br>
# nginx pkg info -l nginx<br>
nginx-1.10.1,2:<br>
/usr/local/etc/nginx/fastcgi_params-dist<br>
/usr/local/etc/nginx/koi-utf<br>
/usr/local/etc/nginx/koi-win<br>
/usr/local/etc/nginx/mime.types-dist<br>
/usr/local/etc/nginx/nginx.conf-dist<br>
/usr/local/etc/nginx/scgi_params-dist<br>
/usr/local/etc/nginx/uwsgi_params-dist<br>
/usr/local/etc/nginx/win-utf<br>
/usr/local/etc/rc.d/nginx<br>
/usr/local/libexec/nginx/ngx_http_lua_module.so<br>
/usr/local/libexec/nginx/ngx_stream_module.so<br>
/usr/local/man/man8/nginx.8.gz<br>
/usr/local/sbin/nginx<br>
/usr/local/share/licenses/nginx-1.10.1,2/BSD2CLAUSE<br>
/usr/local/share/licenses/nginx-1.10.1,2/LICENSE<br>
/usr/local/share/licenses/nginx-1.10.1,2/catalog.mk<br>
/usr/local/www/nginx-dist/50x.html<br>
/usr/local/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING<br>
/usr/local/www/nginx-dist/index.html<br>
<br>
По сути я собрал nginx из портов с опцией LUA на чистой FreeBSD
10.3. На предыдущей машинке работало<br>
<br>
<br>
</div>
<blockquote
cite="mid:CABDaVUMonMDFu8UeMcMdmzr9CWrvrqHOp1e4mB1AntKb0LUUjA@mail.gmail.com"
type="cite">
<p dir="ltr">Hi, а модуль lua на месте?</p>
<div class="gmail_quote">10 июня 2016 г. 8:32 пользователь
"Станислав" <<a moz-do-not-send="true"
href="mailto:server_inc@list.ru">server_inc@list.ru</a>>
написал:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Здравствуйте,<br>
<br>
Подскажите пожалуйста чего это не работает:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
# nginx -t<br>
nginx: [emerg] unknown directive "content_by_lua" in
/usr/local/etc/nginx/virtual/kagdila.rooty.name.conf:51<br>
nginx: configuration file /usr/local/etc/nginx/nginx.conf
test failed<br>
</blockquote>
<br>
Nginx был собран с lua:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
# nginx -V<br>
nginx version: nginx/1.10.1<br>
built with OpenSSL 1.0.2h 3 May 2016<br>
TLS SNI support enabled<br>
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<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
# pkg info nginx | grep -i lua<br>
LUA : on<br>
libluajit-5.1.so.2<br>
</blockquote>
<br>
_______________________________________________<br>
nginx-ru mailing list<br>
<a moz-do-not-send="true" href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a><br>
<a moz-do-not-send="true"
href="http://mailman.nginx.org/mailman/listinfo/nginx-ru">http://mailman.nginx.org/mailman/listinfo/nginx-ru</a></blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
nginx-ru mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx-ru">http://mailman.nginx.org/mailman/listinfo/nginx-ru</a></pre>
</blockquote>
<br>
</body>
</html>