nginx custom modules

Kurogane

Verified User
Joined
Oct 6, 2019
Messages
26
I want to add some modules in nginx but some reason not work.

In "custombuild/custom/nginx" i have configure.nginx and inside i have.

Code:
#!/bin/sh
./configure \
    "--user=nginx" \
    "--group=nginx" \
    "--prefix=/usr" \
    "--sbin-path=/usr/sbin" \
    "--conf-path=/etc/nginx/nginx.conf" \
    "--pid-path=/var/run/nginx.pid" \
    "--http-log-path=/var/log/nginx/access_log" \
    "--error-log-path=/var/log/nginx/error_log" \
    "--without-mail_imap_module" \
    "--without-mail_smtp_module" \
    "--with-http_ssl_module" \
    "--with-http_realip_module" \
    "--with-http_stub_status_module" \
    "--with-http_gzip_static_module" \
    "--with-http_dav_module" \
    "--with-http_flv_module" \
    "--with-file-aio" \
    "--with-threads" \
    "--with-stream" \
    "--with-cc-opt='-D FD_SETSIZE=32768'"
I've added aio, threads and stream when i compile again ./build nginx when finish without any issue and checking modules if installed nginx -V not added.

What i do wrong?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,916
Location
LT, EU
That file is for standalone nginx. Are you running it as a proxy or standalone installation?
 
Top