阿里云文档 2024-02-23

旧版Nginx接入Sentinel流量防护的配置说明

本文介绍使用Nginx接入Sentinel流量防护的配置说明。

阿里云文档 2024-02-23

如何配置NginxSentinel模块

本文介绍使用Nginx接入Sentinel流量防护的配置说明。

文章 2024-01-15 来自:开发者社区

Nginx模块开发:handler模块实现

一、模块需要实现的功能实现功能:统计每个ip地址访问的次数,并显示相应的html。(这个功能有什么用呢?可以根据统计次数,可以后续做成一个黑白名单,对访问次数较多的,禁止访问)在conf文件中,可以设置count这条命令,就能够配置该模块。在访问/test资源的时候,就会对当前ip访问次数进行统计。如下图所示,访问的是102.168.232.137的/test的资源,跳转到192.168.232....

Nginx模块开发:handler模块实现
文章 2024-01-10 来自:开发者社区

Nginx: handler 模块的实现

Nginx 内部结构是由核心部分和一系列功能模块所组成的,每个模块的功能相对简单,便于开发,同时也便于对系统进行功能扩展。Nginx 将各功能模块组织成一条链,当有请求到达的时候,请求依次经过这条链上的部分或者全部模块,进行处理。每个模块实现特定的功能。handler 模块就是接受来自客户端的请求并产生输出的模块,例如 ngx_http_static_module 模块,负责客户端的静态页面请求....

Nginx: handler 模块的实现

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

{"cardStyle":"productCardStyle","productCode":"aliyun","productCardInfo":{"productTitle":"部署Nginx并通过Ingress暴露和监控服务","productDescription":"在阿里云容器服务(后简称ACK)集群中通过YAML文件快速部署一个Nginx应用并通过Nginx Ingress暴露和监控服务,结合使用ACK、日志服务、专有网络搭建业务部署运维方案。","productContentLink":"https://www.aliyun.com/solution/tech-solution/nginx_ingress","isDisplayProductIcon":true,"productButton1":{"productButtonText":"方案详情","productButtonLink":"https://www.aliyun.com/solution/tech-solution/nginx_ingress"},"productButton2":{"productButtonText":"一键部署","productButtonLink":"https://help.aliyun.com/document_detail/2400022.html"},"productButton3":{"productButtonText":"查看更多技术解决方案","productButtonLink":"https://www.aliyun.com/solution/tech-solution/"},"productPromotionInfoBlock":[{"$id":"0","productPromotionGroupingTitle":"解决方案推荐","productPromotionInfoFirstText":"MSE实现全链路灰度","productPromotionInfoFirstLink":"https://www.aliyun.com/solution/tech-solution/iflgbomse","productPromotionInfoSecondText":"云架构必修课:云上高可用架构","productPromotionInfoSecondLink":"https://www.aliyun.com/solution/tech-solution/hablog"}],"isOfficialLogo":false},"activityCardInfo":{"activityTitle":"","activityDescription":"","cardContentBackgroundMode":"LightMode","activityContentBackgroundImageLink":"","activityCardBottomInfoSelect":"activityPromotionInfoBlock"}}