1. 程式人生 > >Nginx 功能模塊

Nginx 功能模塊

nginx

一、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 基本訪問狀態信息等的模塊



Nginx 功能模塊