Update README

This commit is contained in:
Mikhail Che
2014-02-24 09:32:03 +05:00
parent c5a6738382
commit 1577643763

View File

@@ -4,7 +4,7 @@ Used the Redis storage only.
Monitoring blacklist on redis-cli: lrange ip_blacklist 0 -1
Requires
=======
========
Requires openresty bundle http://openresty.org/ (tested on openresty/1.5.8.1)
or ngx-lua module http://wiki.nginx.org/HttpLuaModule#Installation
@@ -12,7 +12,7 @@ Requires openresty bundle http://openresty.org/ (tested on openresty/1.5.8.1)
Configure
========
=========
Change settings on ip_blacklist_conf.lua (see options desciption in file):
@@ -25,7 +25,7 @@ Debug: <bool> for log INFO messages into nginx.log
Log lock: <bool> persistent log list when locking IPs
Replace the system distribution nginx with local installation of openresty
====================================================
==========================================================================
Install latest openresty on default location usr/local/openresty.
@@ -43,7 +43,7 @@ cp ip_blacklist_conf.lua /etc/nginx/lua/
cp ip_blacklist.lua /etc/nginx/lua/
Configure NGINX
================
===============
Add one line to http section:
lua_package_path "/etc/nginx/lua/?.lua;;";