Nginx 引入 Dynamic Module 架构
nginx 在1.9.11 版引入了 Dynamic Module,能够更方便的决定要挂哪些模组使用了:「Introducing Dynamic Modules in NGINX 1.9.11」。
从以往的:
多了一种选择:
也因此多了 load_module 功能可以用:
To load a module at runtime, include the new load_module directive in the main context, specifying the path to the shared object file for the module, enclosed in quotation marks. When you reload the configuration or restart NGINX, the module is loaded in. You can specify a path relative to the source directory, as in these examples, or a full path.
load_module "modules/ngx_http_geoip_module.so";
load_module "modules/ngx_stream_module.so";
搭建基于Linux6.3+Nginx1.2+PHP5+MySQL5.5的Web服务器全过程 http://www.linuxidc.com/Linux/2013-09/89692.htm
CentOS 6.3下配置Nginx加载ngx_pagespeed模块 http://www.linuxidc.com/Linux/2013-09/89657.htm
CentOS 6.4安装配置Nginx+Pcre+php-fpm http://www.linuxidc.com/Linux/2013-08/88984.htm
Nginx日志过滤 使用ngx_log_if不记录特定日志 http://www.linuxidc.com/Linux/2014-07/104686.htm
查看评论 回复