Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set-misc-nginx-module not loaded #248

Open
muuvmuuv opened this issue Sep 28, 2022 · 1 comment
Open

set-misc-nginx-module not loaded #248

muuvmuuv opened this issue Sep 28, 2022 · 1 comment

Comments

@muuvmuuv
Copy link

I checked twice that I had "y" selected on misc module but still it does not appear in the loaded modules:

sudo nginx -V
nginx version: nginx/1.22.0
built by gcc 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
built with OpenSSL 1.1.1 (compatible; BoringSSL) (running with BoringSSL)
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --user=nginx --group=nginx --with-cc-opt=-Wno-deprecated-declarations --with-cc-opt=-Wno-ignored-qualifiers --with-openssl=/usr/local/src/nginx/modules/quiche/quiche/deps/boringssl --with-quiche=/usr/local/src/nginx/modules/quiche --with-http_v2_hpack_enc --with-threads --with-file-aio --with-http_ssl_module --with-http_v2_module --with-http_mp4_module --with-http_auth_request_module --with-http_slice_module --with-http_stub_status_module --with-http_realip_module --with-http_sub_module --add-module=/usr/local/src/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable --add-module=/usr/local/src/nginx/modules/ngx_brotli --add-module=/usr/local/src/nginx/modules/ngx_cache_purge --add-module=/usr/local/src/nginx/modules/nginx-module-vts --add-module=/usr/local/src/nginx/modules/ModSecurity-nginx --add-module=/usr/local/src/nginx/modules/redis2-nginx-module --add-module=/usr/local/src/nginx/modules/ngx_http_redis-0.3.9 --add-module=/usr/local/src/nginx/modules/srcache-nginx-module --with-http_v3_module

Anyone else has this issue? Installation process did not print any errors...

@muuvmuuv
Copy link
Author

Alright, so since NGINX uses PCRE2 now, autoinstall wont work anymore with anything that includes the LUA module. It is now required to include these options to compile it successfully:

--with-ld-opt=-lpcre
--without-pcre2
--with-compat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant