Nginx 常用模块和安装参数简介

Nginx发布于2017-02-09 / 更新于2021-01-02 07:04

ngx_devel_kit

一般简称 NDK,是一个供其它模块使用的拓展 Nginx 核心功能的模块,第三方模块开发可以基于它快速实现。强烈建议编译 Lua 时把它也带上,虽然不是必须的,缺少该依赖项时例如 set_by_lua 和 ndk.set_var. API 都将被自动禁用

--with-http_ssl_module

支持https,该模块需要 OpenSSL库

--with-openssl

指定nginx ssl模块依赖的ssl库

http_v2_module

支持http/2

http_stub_status_module

统计访问状态信息

ngx_cache_purge

清除 FastCGIproxySCGIuWSGI缓存

lua-nginx-module

将Lua的功能嵌入到Nginx HTTP服务器中

http_image_filter_module

动态处理图片尺寸

http_gunzip_module

发送数据之前进行压缩进行gzip压缩

--with-stream

支持stream

--with-stream_ssl_module

支持ssl stream

http_flv_module

为Flash Video(FLV)文件提供伪流服务器端支持,一般用于hlv直播

http_sub_module

支持替换字符串

--with-http_realip_module

能够使得后台服务器记录原始客户端的IP地址

I am a full-stack independent development engineer from China. I love to participate in open source and focus on developing the Web, iOS App & Android App (React Native), desktop applications (Eletron), crawlers, back-end services, system architecture

讨论

暂无评论

目录

1.ngxdevelkit
2.--with-httpsslmodule
3.--with-openssl
4.httpv2module
5.[httpstubstatusmodule](http://nginx.org/en/docs/http/ngxhttpstubstatus_module.html)
6.ngxcachepurge
7.lua-nginx-module
8.httpimagefilter_module
9.httpgunzipmodule
10.--with-stream
11.--with-streamsslmodule
12.httpflvmodule
13.httpsubmodule
14.--with-httprealipmodule