首页 > 代码库 > Nginx 模块

Nginx 模块

(1) 核心功能模块:用于 nginx 的全局配置,官网:http://nginx.org/en/docs/ngx_core_module.html

(2) HTTP功能模块:用于 nginx 的 http 配置,官网:http://nginx.org/en/docs/ ,下面列举一些常用的 http 功能模块

ngx_http_core_module :http 核心模块,包括一些核心的 http 参数配置,对应 nginx 的配置为 http 区块部分

ngx_http_access_module :访问控制模块,用来控制网站用户对 nginx 的访问

ngx_http_gzip_module :压缩模块,对 nginx 返回的数据压缩,属于性能优化模块

ngx_http_fastcgi_module :FastCGI 模块,和动态应用相关的模块,如 PHP

ngx_http_proxy_module :代理模块

ngx_http_upstream_module :URL 地址重写模块,用于重定向 URL

ngx_http_rewrite_module :负载均衡模块,可以实现网站的负载均衡功能及节点的健康检查

ngx_http_limit_conn_module :限制用户并发连接数及请求数模块

ngx_http_limit_req_module :限制 nginx 请求过程的速率

ngx_http_log_module :访问日志模块,以指定的格式记录 nginx 客户访问日志等信息

ngx_http_auth_basic_module :web 认证模块,设置 web 用户通过账号密码访问 nginx

ngx_http_ssl_module :ssl 模块,用于加密的 http 连接,如 https

ngx_http_stub_status_module :记录 nginx 基本访问状态信息等的模块

 

 

 

   

 

Nginx 模块