NGINX Developer Kit
The NDK module makes it easier for module developers to develop NGINX modules.
The NDK module is also a prerequisite for Lua and Set-Misc modules.
Installation Instructions
-
Install the NDK module.
For Amazon Linux, CentOS, Oracle Linux, and RHEL:
$ yum install nginx-plus-module-ndk
For Debian and Ubuntu:
$ apt-get install nginx-plus-module-ndk
For SLES:
$ zypper install nginx-plus-module-ndk
For Alpine:
$ apk add nginx-plus-module-ndk
-
Put the
load_module
directive in the top‑level (“main
”) context of NGINX Plus configuration file, nginx.conf:load_module modules/ndk_http_module.so;
-
Perform additional configuration as required by the module.
-
Reload NGINX Plus to enable the module:
$ nginx -t && nginx -s reload