ngx_stream_log_moduleを使用したnginx 1.16.1のコンパイル

ngx_stream_log_moduleを使用したnginx 1.16.1のコンパイル

Nginx 1.161.1のインクルードをコンパイルしたいngx_stream_log_moduleので、次のようにします。

./configure --sbin-path=/usr/local/nginx/nginx \
--conf-path=/usr/local/nginx/nginx.conf \
--pid-path=/usr/local/nginx/nginx.pid \
--with-pcre=../pcre-8.43 \
--with-zlib=../zlib-1.2.11 \
--with-http_ssl_module \
--with-http_auth_request_module \
--with-http_v2_module \
--with-http_realip_module \
--with-http_flv_module \
--with-http_gzip_static_module \
--with-stream \
--with-threads \
--with-mail=dynamic \
--with-stream=dynamic \
--with-compat \
--with-stream_log_module=dynamic

しかし、次のエラーが発生しました。

./configure: error: invalid option "--with-stream_log_module=dynamic"

コンパイルして--with-stream_log_module=dynamicエラーなく作成しましたが、インストールだけになりましたが、何が問題ですかngx_stream_module.so/usr/local/nginx/modules/ ありがとうございます。

ベストアンサー1

おすすめ記事