一、工作原理
1.1 lamp工作原理:
http://blog.csdn.net/xinyflove/article/details/46618773
1.2.1 lnmp工作原理:
http://www.cnblogs.com/yanxinjiang/p/7552671.html
1.2.2 fastcgi、phpcgi、php-fpm?
https://segmentfault.com/q/1010000000256516
1.3 lamp及lnmp对比:
http://blog.csdn.net/huobobo124/article/details/52971479
三、第三方模块
3.1 nginx模块:
http://tengine.taobao.org/book/module_development.html
nginx_upstream_check_module lua-nginx-module这个模块主要由前淘宝章亦春开发,并已经开源,代码在github上,现在他主要在做这方面的开源工作,并不断在更新完善,丰富的API,功能集非常强大,主要满足业务上的各种需求。
3.2 openresty第三方模块
lua第三方插件:
https://github.com/search?p=1&q=lua+resty&type=Repositories&utf8=%E2%9C%93
例子:http://jinnianshilongnian.iteye.com/blog/2187328/
二、openresty的优势
三、安装
中文官方网站
四、参考文档
Lua菜鸟教程:
https://www.runoob.com/lua/lua-tutorial.html
Tengine vs openresty
https://www.cnblogs.com/xd502djj/p/4310642.html
http://www.oschina.net/question/28_60461
http://blog.csdn.net/wangbin579/article/details/7287270
http://wiki.jikexueyuan.com/project/openresty/openresty/get_url_param.html
OpenResty
https://www.kancloud.cn/allanyu/openresty-best-practices/82606
https://moonbingbing.gitbooks.io/openresty-best-practices/content/
Nginx lua API:
https://www.kancloud.cn/inwsy/project/1127389
Nginx Lua 模块指令:
https://www.kancloud.cn/qq13867685/openresty-api-cn/159191
Lua在线解析工具:
https://www.lua.org/cgi-bin/demo
http://wiki.jikexueyuan.com/project/openresty-best-practice/cache.html
http://blog.csdn.net/kenkao/article/details/52093734
这个比较好
http://jinnianshilongnian.iteye.com/blog/2186448
nginx插件
短信攻击
百度爬虫重定向
服务器搭建
htaccress
OpenResty(nginx扩展)实现防cc攻击
https://www.centos.bz/2012/12/openresty-nginx-block-cc-attack-deploy/
nginx访问限制
http://outofmemory.cn/code-snippet/14396/nginx-and-lua
nginx lua redis 访问频率限制
http://www.ttlsa.com/nginx/nginx-lua-redis-access-frequency-limit/
禁止终端访问插件:
日志:
http://wiki.jikexueyuan.com/project/openresty/openresty/log_response.html
热转载代码:
http://wiki.jikexueyuan.com/project/openresty-best-practice/hot-load.html
参考博客: