From e083a1a7da9cadf85108b834ce7a97400387bc94 Mon Sep 17 00:00:00 2001 From: ibuler Date: Sun, 19 Jun 2016 11:21:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B2=A1=E7=94=A8=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a49a8a5..27bf878 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ ### 使用方法: 1. nginx安装lua模块,不再详述 +2. 下载模块 + cd /data/server/nginx/conf + git clone https://github.com/ibuler/ngx_lua_waf.git waf 2. nginx.conf 添加参数 lua_package_path /data/server/nginx/conf/waf/?.lua; # 模块位置 lua_shared_dict limit 10m; # 设置lua使用内存, 根据访问量设置合适值