How to remove unused Nginx modules

王林
Release: 2023-05-16 11:40:12
forward
2143 people have browsed it

Remove unused Nginx modules

When compiling and installing, add the following configuration instructions when executing the ./configure method to explicitly delete unused modules:

./configure --without-module1 --without-module2 --without-module3
Copy after login

For example:

./configure --without-http_dav_module --withouthttp_spdy_module
Copy after login

Note: Configuration instructions are provided by the module. Make sure the module you disable does not contain the directives you need to use! Before deciding to disable a module, you should check the Nginx documentation for the list of directives available for each module.

The above is the detailed content of How to remove unused Nginx modules. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!