nginx动态模块

Posted ka1em

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nginx动态模块相关的知识,希望对你有一定的参考价值。

###############
Dynamic modules
###############

Dynamic modules are loaded using the "load_modules" directive. The RPM package
for each module has a ‘.conf‘ file in the /usr/share/nginx/modules directory.
The ‘.conf‘ file contains a single "load_modules" directive.

This means that whenever a new dynamic module is installed, it will
automatically be enabled and Nginx will be reloaded.

--------------------------------------------------------
Prevent dynamic modules from being enabled automatically
--------------------------------------------------------

You may want to avoid dynamic modules being enabled automatically. Simply
remove this line from the top of /etc/nginx/nginx.conf:

include /usr/lib64/nginx/modules/*.conf;

以上是关于nginx动态模块的主要内容,如果未能解决你的问题,请参考以下文章

已安装nginx动态添加模块

Nginx 动态添加模块

nginx模块动态加载(http)

Nginx为已安装nginx动态添加模块

Nginx动态添加模块

nginx php动态编译加载模块.