Welcome! Log In Create A New Profile

Advanced

how to find unused modules in nginx

Posted by senlog80 
how to find unused modules in nginx
March 07, 2024 02:13AM
Hi Team,

I want to understand nginx modules which are not used by the system even though it is loaded.
This is to identify unused nginx modules and remove from the system for security related issues.

I can able to list out all the modules loaded with below commands.
strings /usr/sbin/nginx|grep _module|grep -v configure| sort
nginx -V 2>&1 | tr ' ' '\n'

But not getting any pointers how to find unused modules and remove it.
Any help is highly appreciated.

Thanks
Senthil
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 118
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready