Skip to content

Commit 012ba93

Browse files
committed
doc for dynamic module compilation
1 parent 592d6df commit 012ba93

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.rdoc

+10
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,13 @@ In comparison to standard nginx access module this allows for dynamic list updat
1616
sudo ipset -A myblacklist 127.0.0.1
1717
* Start nginx
1818
* Profit!
19+
20+
== Installation as dynamic module
21+
22+
Alternatively, you can compile a dynamic module for nginx with:
23+
./configure --add-dynamic-module=/path/to/ngx_http_ipset_access --with-compat
24+
25+
After compilation, locate `objs/ngx_http_ipset_access.so`.
26+
27+
To load the compiled module into nginx, add the following at the top of nginx.conf:
28+
load_module /path/to/ngx_http_ipset_access.so;

0 commit comments

Comments
 (0)