一些好用的nginx第三方模块

 

1.Development Kit

https://github.com/simpl/ngx_devel_kit

Nginx的开发工具包

 

2.Echo

http://wiki.nginx.org/HttpEchoModule

便捷命令,输出nginx信息

 

3.Extended status module

http://wiki.nginx.org/Extended_status_module

Nginx status模块的扩展

 

4.Foot filter

http://wiki.nginx.org/HttpFootFilterModule

在页面输出底部加入字符串

 

5.GeoIP

http://wiki.nginx.org/Http3rdPartyGeoIPModule

IP地址识别

 

6.HTTP Push

https://pushmodule.slact.net/

将Nginx改装成comet服务

 

7.Limit Upload Rate

https://github.com/cfsego/limit_upload_rate/

限制客户端上传速率

 

8.Lua

http://wiki.nginx.org/HttpLuaModule

将lua嵌入到Nginx 极其好用的module

 

9.ModSecurity

http://www.modsecurity.org/projects/modsecurity/nginx/index.html

web应用防火墙

 

10.PageSpeed

http://ngxpagespeed.com/ngx_pagespeed_example/

google开发的 高性能传输、低延时,基于nginx的页面加速

 

11.Secure Download

http://wiki.nginx.org/HttpSecureDownload

创建安全现在链接

 

12.SysGuard

https://github.com/alibaba/nginx-http-sysguard

当系统负载过高时,保护系统

 

 

db通信类模块

Mongo

Drizzle

Postgres

Redis2

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
在 macOS 上安装 nginx第三方模块可以使用 Homebrew 包管理器来简化过程。以下是安装第三方模块的步骤: 1. 首先,确保您已经安装了 Homebrew。如果您还没有安装,可以在终端中运行以下命令来安装 Homebrew: ``` /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ``` 2. 安装 nginx。在终端中运行以下命令来使用 Homebrew 安装 nginx: ``` brew install nginx ``` 3. 找到您想要安装的第三方 nginx 模块。您可以通过在搜索引擎上搜索或访问模块的官方网站来找到合适的模块。 4. 下载并解压第三方模块的源代码。将源代码解压到一个您可以方便访问的位置。 5. 进入解压后的模块源代码目录,并使用 `./configure` 命令配置编译选项。在这个命令中,您可以通过添加 `--add-dynamic-module=/path/to/module` 来指定要安装的模块。例如: ``` ./configure --add-dynamic-module=/path/to/module ``` 请将 `/path/to/module` 替换为您要安装的模块的实际路径。 6. 完成配置后,运行 `make` 命令编译 nginx。 7. 编译完成后,在终端中运行以下命令将编译好的模块复制到 nginx模块目录: ``` cp objs/*.so /usr/local/Cellar/nginx/{version}/libexec/modules/ ``` 请将 `{version}` 替换为您当前安装的 nginx 版本号。 8. 在终端中运行以下命令启动 nginx: ``` brew services start nginx ``` 现在,您已经成功安装了第三方模块,并且可以在 nginx 的配置文件中启用和配置它们。 请注意,安装第三方模块可能需要一些编译工具和依赖项。如果出现任何错误或依赖项缺失,您可能需要安装相应的工具和库。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值