码迷,mamicode.com
首页 >  
搜索关键字:openresty    ( 357个结果
基于ngx_lua_waf模块的配置web应用防火墙
前言ngx_lua_waf是一个基于lua-nginx-module(openresty)的web应用防火墙github地址:https://github.com/loveshell/ngx_lua_waf1,用途:防止sql注入,本地包含,部分溢出,fuzzing测试,xss,SSRF等web攻击防止svn/备份之类文件泄漏防止ApacheBench之类压力测试工具的攻击屏蔽..
分类:Web程序   时间:2016-05-09 14:32:20    阅读次数:478
Nginx+Lua+OpenResty安装
Nginx+Lua+OpenResty安装1,安装依赖yuminstalllibreadline-devlibncurses5-devlibpcre3-devlibssl-devperl2,下载ngx_openresty-xxx.tar.gz并解压(ngx_openresty-xxx/bundle目录里存放着nginx核心和很多第三方模块,比如有我们需要的Lua和LuaJIT。)wgethttps://openresty.org/d..
分类:其他好文   时间:2016-04-28 12:31:43    阅读次数:213
基于 lua-resty-upload 实现简单的文件上传服务
今天了解了一下lua-resty-upload模块,并基于lua-resty-upload模块简单实现了一个基本的表单文件上传服务。lua-resty-upload在github上的项目地址为:https://github.com/openresty/lua-resty-upload从实现可以看到,其实upload服务的实现还是比较简单的,就一个源文件lualib/re..
分类:Web程序   时间:2016-04-20 23:54:56    阅读次数:2732
Tengine vs openresty
Tengine vs openresty Tengine vs openresty 简介 Tengine是由淘宝网发起的Web服务器项目。它在Nginx的基础上,针对大访问量网站的需求,添加了很多高级功能和特性。Tengine的性能和稳定性已经在大型的网站如淘宝网,天猫商城等得到了很好的检验。它的最 ...
分类:其他好文   时间:2016-04-17 00:50:32    阅读次数:270
CentOS6.5 安装 Openresty
学习开源软件的第一步就是上官网,看安装guide和demo(examples)。对于openresty来说一样,官网给出了详细的安装说明:http://openresty.org/en/installation.html 那就来动手TIY一下。 1. 安装依赖 openresty依赖于perl 5.6.1+, libreadline,libpcre,libssl Cento...
分类:其他好文   时间:2016-04-10 14:44:21    阅读次数:254
nginx使用ngx_lua访问后端Thrift-Server实现和介绍
背景 随着openresty的出现,让nginx使用lua解决一些业务的能力大幅度提高,ngx_lua可以使用nginx自生的基于事件驱动的IO模型,和后端的存储,业务等系统实现非阻塞的连接交互。 如何使用ngx_lua连接后端的Thrift-Server呢? 基于这个需求,本人为ngx_lua做了 ...
分类:其他好文   时间:2016-04-08 10:23:18    阅读次数:594
在OpenResty中使用lua-zlib的方法
在OpenResty中使用lua-zlib的方法 ==================================================================1、查看 zlib在centos 中是否存在?rpm -qa | grep zlib 显示:zlib-devel-1.
分类:其他好文   时间:2016-02-26 09:24:42    阅读次数:208
Nginx(一):静态资源web服务器配置详解
一、Nginx概述1.Nginx简介解决基于进程模型产生的C10k问题,请求时即使无状态连接如web服务都无法达到并发响应量级一万现状。2006年俄罗斯编写。全称为engineX,缩减合并称为nginx。官方站点:http://nginx.org/。2013年发出企业版NginxPlus二次发行版:tengine,OpenResty……2..
分类:Web程序   时间:2016-02-20 17:44:17    阅读次数:1368
Openresty 数据共享API.Data Sharing within an Nginx Worker
摘要自:https://github.com/openresty/lua-nginx-module/#data-sharing-within-an-nginx-worker 每nginx worker的数据共享 定义一个lua模块,在content_by_lua或者content_by_lua_bl
分类:Windows程序   时间:2016-02-05 11:56:52    阅读次数:234
openresty 备忘
参考:https://moonbingbing.gitbooks.io/openresty-best-practices/content/openresty/helloworld.htmlhttp://openresty.org/wgethttps://openresty.org/download/...
分类:其他好文   时间:2016-01-14 12:14:49    阅读次数:221
357条   上一页 1 ... 28 29 30 31 32 ... 36 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!