Skip to content

Commit

Permalink
doc: documented how to build this module as a dymamic module.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Mar 1, 2016
1 parent 4f14a29 commit bd582c8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Table of Contents
* [modular](#modular)
* [auto-generated & easily extensible](#auto-generated--easily-extensible)
* [Usage for users](#usage-for-users)
* [Building as a dynamic module](#building-as-a-dynamic-module)
* [Usage for developers](#usage-for-developers)
* [Warning: using NDK_ALL](#warning-using-ndk_all)
* [TODO](#todo)
Expand Down Expand Up @@ -94,6 +95,19 @@ e.g.

[Back to TOC](#table-of-contents)

Building as a dynamic module
----------------------------

Starting from NGINX 1.9.11, you can also compile this module as a dynamic module, by using the `--add-dynamic-module=PATH` option instead of `--add-module=PATH` on the
`./configure` command line above. And then you can explicitly load the module in your `nginx.conf` via the [load_module](http://nginx.org/en/docs/ngx_core_module.html#load_module)
directive, for example,

```nginx
load_module /path/to/modules/ndk_http_module.so;
```

[Back to TOC](#table-of-contents)

Usage for developers
====================

Expand Down

0 comments on commit bd582c8

Please sign in to comment.