糖果实验室杂货铺

Candy Lab

使用Openresty编写WAF插件

1 year ago in 测试 0

对于有的站点来说,除了一些上传文件的场景,基本上都是GET操作比较多,针对一些GET请求中存在的异常数据,可以在pipeline写一个小的WAF插件来拦截。 直接使用了X-WAF的规则文件: `
Tags: , , ,

Nginx+Lua返回JSON类型数据

1 year ago in blues 0

作者:糖果 一般的Python的WEB框架,都可以的指定返回JSON数据,基本的原理,还是通过指定返回JSON格式的字符串,并且设定HTTP返回时header的Content-Type属性为appl
Tags: ,

Openresty OOM 臭虫

1 year ago in openresty 0

### Openresty OOM 臭虫 最近我在线上改变了一个的 Nginx 配置,导致 OOM(Out of Memory) killer 在 Nginx 加载新配置的过程中 杀死了 Ngi
Tags:

Logstash基础配置

2 years ago in logstash 0

编辑:糖果 Logstash的启动脚本中有比较多的命令行参数: ###-f :用于指定配置文件 使用文件,目录,或者通配符加载配置信息,如果指定为目录或者通配符,按字母顺序加载。 ###-e:
Tags: ,

Vanilla框架静态的路由使用

3 years ago in vanilla 0

作者:糖果 这次我们来看一下,如何在Vanilla下,追加新的路由。 在Vanilla中追加一个新的路由,需要添加两个文件即可完成。 我们进入工程根目录下的application目录,分别在co
Tags: , ,

Openresty 火焰图

3 years ago in book 0

这是群里的小伙伴分享,感谢这位小伙伴,mc! 信春哥,看文档。

分类

标签

lua (124) openresty (40) moonscript (40) python (35) lapis (34) linux (13) c (12) web (10) nginx (9) book (9) vim (9) django (8) vanilla (8) C++ (7) socket (6) coding (6) redis (6) http (6) lua快速入门 (6) 快速入门 (6) syslog (6) graylog (6) luafaq (5) jekyll (5) logstash (5) css (4) flask (4) json (4) lor (4) OpenResty China (4) mysql (4) orc (4) html (3) SAE (3) tornado (3) luacurl (3) coding.net (3) ruby (3) orchina (3) leafo (3) post (3) get (3) Elasticsearch (3) syslog-ng (3) php (3) map (3) blues (3) vundle (3) weibo (2) pyqt (2) template (2) ubuntu (2) static (2) md5 (2) curl (2) so (2) gunicorn (2) web ide (2) timer (2) stomp (2) tmux (2) zerbobrane (2) mongorover (2) root (2) docker (2) ngx.ctx (2) blog (2) templates (2) test (2) pages (2) es (2) elk (2) log_by_lua (2) luaL_register (2) markdown (2) Octopress (2) sitegen (2) zsh (2) pool (2) set keeplive (2) waf (2) lazytable (2) windump (2) sidercar (2) nxlog (2) vector (1) mutex (1) thread (1) pthread (1) Qt (1) RPC (1) hotdoc (1) tenjin (1) lisp (1) div (1) 海报 (1) 开眼 (1) 豌豆荚 (1) vim;自动补全;插件 (1) LuaVMRead (1) qq群 (1) 翻译 (1) mopaas (1) game (1) wiki (1) gotty (1) htop (1) dstat (1) rpc4django (1) vnc (1) mongoc (1) resty-lua-mongo (1) lua-resty-mongol (1) lua-mongo (1) mongol (1) bson (1) sudoers (1) cpp (1) random (1) windows (1) openrest (1) mongodb (1) sha256 (1) base64 (1) split (1) ldt (1) gsub (1) string (1) pair (1) ipair (1) rmq (1) token (1) csrf (1) 好的lua书籍 (1) 入门 (1) 手册 (1) loadstring (1) nginx共享内存 (1) flame graphs (1) centos (1) lua5.1 (1) lua51.dll (1) faq (1) lua faq (1) about (1) 糖果 (1) middlefeng (1) news (1) 新闻 (1) 快讯 (1) project (1) tup (1) websocket (1) # (1) maxn (1) getn (1) ngx.null (1) null (1) nil (1) lua面向对象 (1) ascii (1) pcre (1) 域名出售 (1) config (1) linus (1) busted (1) mime (1) (1) oo (1) english (1) 锤子手机 (1) javascript (1) pip (1) terminal (1) unity (1) ptyhon (1) vsftpd (1) smb (1) layout (1) luaweb (1) 内存管理 (1) framework (1) setmetatable (1) concurrent (1) 博客 (1) 建站 (1) web框架 (1) 32 (1) luabit (1) rgb (1) alpha (1) integer (1) sublime (1) chinaor (1) orc.black (1) heroku (1) 分页 (1) dsl (1) consul (1) ngx_lua (1) nginx lua (1) header (1) japanese (1) pyes (1) paloalto (1) request (1) luasocket (1) lvs (1) 正向代理 (1) 正向代理服务器 (1) 空格 (1) tab (1) 创建新行 (1) 快捷键 (1) luaL_Reg (1) lua_CFunction (1) scssphp (1) Laravel (1) github (1) lefao (1) scoping (1) svn (1) 机械键盘 (1) csrf_exempt (1) rest (1) web service (1) HttpResponse (1) awk (1) access log (1) 代码规范 (1) 参考 (1) graphs (1) flame (1) 火焰图 (1) saepy-log (1) scaffold (1) gui (1) pyside (1) qml (1) 插件 (1) 并发模型 (1) install (1) 字符集 (1) simple http (1) 简单传输协议 (1) moonscript简介 (1) 静态文件设定 (1) vps (1) xwindows (1) luarocks (1) figcation (1) 键盘 (1) cherry (1) 人体工学 (1) hhkb (1) leafo.net (1) 权限 (1) 权限管理 (1) user (1) grokdebugger (1) grok (1) filter (1) libmemcached-dev (1) pylibmc (1) supervisor (1) supervisorctl (1) bs4 (1) beautifulsoup (1) urllib (1) paginated (1) 分页查询 (1) sql (1) webide (1) neocomplcache (1) pygeoip (1) geolitecity (1) geo (1) geoip (1) evn (1) cancel (1) threading (1) start (1) communicate (1) juicer (1) openresty-china (1) ossec (1) honemap (1) client (1) node (1) nodejs (1) api (1) 日常操作 (1) require (1) luajit (1) module (1) lua vm (1) tail call (1) OptParse (1) hpfeeds (1) 判空 (1)

友情链接