码迷,mamicode.com
首页 > 其他好文 > 详细

nginx动态模块

时间:2018-11-06 00:50:50      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:pac   share   usr   load   ever   new   pack   模块   rom   

###############
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动态模块

标签:pac   share   usr   load   ever   new   pack   模块   rom   

原文地址:https://www.cnblogs.com/ka1em/p/9912278.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!