一、Nginx 核心功能模块

(1) Nginx 核心功能模块负责 Nginx 的全局应用,主要对应主配置文件的 Main 区块和 Events 区块
(2) Nginx 核心功能模块官网:http://nginx.org/en/docs/ngx_core_module.html

二、Nginx http 模块

Nginx http 功能模块模块说明
ngx_http_core_module包括一些核心的 http 参数配置,对应 Nginx 的配置为 HTTP 区块部分
ngx_http_access_module访问控制模块,用来控制网站用户对 Nginx 的访问
ngx_http_gzip_module压缩模块,对 Nginx 返回的数据压缩,属于性能优化模块
ngx_http_fastcgi_moduleFastCGI 模块,和动态应用相关的模块,如 PHP
ngx_http_proxy_moduleproxy 代理模块
ngx_http_upstream_module负载均衡模块,可实现网站的负载均衡和节点的健康检查
ngx_http_rewrite_moduleURL 地址重写模块
ngx_http_limit_conn_module限制用户并发连接数以及请求数的模块
ngx_http_limit_req_module根据定义的 key 限制 Nginx 请求过程的速率
ngx_http_log_module访问日志模块,以指定的格式记录 Nginx 客户访问日志等信息
ngx_http_auth_basic_moduleWeb 认证模块,设置 Web 用户通过账号密码访问 Nginx
ngx_http_ssl_modulessl 模块,用于加密的 http 连接,如 https
ngx_http_stub_status_module记录 Nginx 基本访问状态信息等的模块