![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
亲爱的-爹爹
各种语言
展开
-
lua脚本变了,要重新reload nginx 吗?
server{ lua_code_cache off; //关闭lua缓存 重启后生效 server_name localhost; default_type 'text/plain'; content_by_lua_file /conf/lua/test.lua; //将lua程序用file文件加载 } 默认情况下lua_code_cac...原创 2015-06-29 12:00:07 · 1760 阅读 · 0 评论 -
nginx 日志分享,shell脚本篇
nginx访问量统计 1.根据访问IP统计UV awk '{print $1}' access.log|sort | uniq -c |wc -l 2.统计访问URL统计PV awk '{print $7}' access.log|wc -l 3.查询访问最频繁的URL awk '{print $7}' access.log|sort | uniq -c |sort -n -...原创 2016-03-04 22:46:38 · 559 阅读 · 0 评论