how to remove nginx modules?Using 32768KiB of shared memory for nchan

Solution 1:

On Debian derivatives the directory /etc/nginx/modules-enabled contains the configuration files used to load modules (or better symbolic links to the configuration files). You just need to delete the appropriate file and reload nginx:

systemctl reload nginx