摘要:
Nginx原生限流模块: ngx_http_limit_conn_module模块 根据前端请求域名或ip生成一个key,对于每个key对应的网络连接数进行限制。 配置如下: http模块 server模块 #http模块内 http { include mime.types; default_ty 阅读全文
posted @ 2019-01-22 10:15
HushAsy
阅读(1358)
评论(0)
推荐(0)
摘要:
环境准备: openresty下载:https://openresty.org/cn/download.html idea 插件安装: OpenResty Lua Support,Lua,Nginx Support (若国内无法下载,请自行FQ) 大致思路:配置nginx_server(即openr 阅读全文
posted @ 2019-01-22 09:56
HushAsy
阅读(5657)
评论(0)
推荐(1)