Update README.md

This commit is contained in:
Kload 2013-10-15 14:05:46 +02:00
parent ae5efa12ab
commit 4d0b746765

View file

@ -7,6 +7,7 @@ Requirements
------------ ------------
Nginx "Openresty" flavored : http://openresty.org/ Nginx "Openresty" flavored : http://openresty.org/
or nginx-extras in Debian wheezy-backports
Example Nginx conf Example Nginx conf
@ -15,6 +16,7 @@ Example Nginx conf
```nginx ```nginx
lua_package_path "/usr/share/lua/5.1/nginx/?.lua;;"; # For Debian lua_package_path "/usr/share/lua/5.1/nginx/?.lua;;"; # For Debian
init_by_lua 'conf_path = "path/to/conf.json"';
init_by_lua_file path/to/init.lua; init_by_lua_file path/to/init.lua;
access_by_lua_file path/to/access.lua; access_by_lua_file path/to/access.lua;