Tag Archives: nginx

Nginx限制访问速率和最大并发连接数模块–limit (防止DDOS攻击)

Tengine版本采用http_limit_req_module进行限制 具体连接请参考 http://tengine.taobao.org/document_cn/http_limit_req_cn.html 和官方nginx类似,不过支持多个变量,并且支持多个limit_req_zone的设置。比如: limit_req_zone... Read More | Share it now!

Learn how to configure caching, load balancing, cloud deployments, and other critical NGINX features

Development guide Introduction Code layout auto — Build scripts src core — Basic types and functions — string, array, log, pool, etc. event — Event core modules — Event notification... Read More | Share it now!

Nginx Metrix

https://github.com/ekho/nginx-metrix Description Nginx out-of-the-box has not the most complete status page provided by status module. It is worth noting that in Nginx Plus, this module provides more information. But... Read More | Share it now!

服务器排障 之 nginx 499 错误的解决

问题描述: Nginx 服务器大量499报错 220.181.165.136 - - [18/May/2015:10:31:02 +0800] "POST /v1/jobsHTTP/1.1" 499 0 "" "bdHttpRequest/1.0.0" 115.239.212.7 - - [18/May/2015:10:31:03 +0800] "GET... Read More | Share it now!

OpenResty

OpenResty® OpenResty® 是一个基于 Nginx 与 Lua 的高性能 Web 平台,其内部集成了大量精良的 Lua 库、第三方模块以及大多数的依赖项。用于方便地搭建能够处理超高并发、扩展性极高的动态 Web... Read More | Share it now!

Nginx virtual host traffic status module

https://github.com/vozlt/nginx-module-vts Monitoring nginx status Version This document describes nginx-module-vts v0.1.18 released on 22 Jun 2018. Dependencies nginx Compatibility Nginx 1.15.x (last tested: 1.15.0) 1.14.x (last tested:... Read More | Share it now!

用Prometheus细化Nginx监控

国内用Nginx的比较多,Nginx的监控比较老的方案可能是通过跑脚本定期收集nginx的status模块的数据,或者监控nginx的日志;后来阿里的tengine在国内开始流行,于是诞生了很多不错的lua模块;但是这些监控方案在有新的监控需求的时候,可能就需要再修改脚本或者更改nginx... Read More | Share it now!

Using nginx as HTTP load balancer

Introduction Load balancing across multiple application instances is a commonly used technique for optimizing resource utilization, maximizing throughput, reducing latency, and ensuring fault-tolerant configurations. It is possible to use nginx as a... Read More | Share it now!

nginx error redirect

location / { proxy_pass http://some_servers; proxy_redirect off; proxy_next_upstream error timeout invalid_header http_500 http_404; proxy_connect_timeout 2; proxy_set_header Host... Read More | Share it now!

[转]nginx 之 proxy_pass详解

https://blog.csdn.net/zhongzh86/article/details/70173174 在nginx中配置proxy_pass代理转发时,如果在proxy_pass后面的url加/,表示绝对根路径;如果没有/,表示相对路径,把匹配的路径部分也给代理走。 假设下面四种情况分别用... Read More | Share it now!