www/nginx-module-njs 1.0.1_1 DragonFly
Sources of the njs (JavaScript) module for the NGINX ports
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD2CLAUSE
- Categories
- www
- Package size
- 529.6 KiB, 4877.6 KiB installed
Description
Njs is an nginx module that extends the server's functionality through JavaScript scripting, enabling the creation of custom server-side logic.
Use cases:
- Complex access control and security checks in njs before a request reaches an upstream server
- Manipulating response headers
- Writing flexible asynchronous content handlers and filters
This port only installs the module sources. The module itself is built by the nginx ports when their NJS option is enabled.
In the other systems
The newest version among them is 1.0.2, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | www/nginx-module-njs | 1.0.1_1 behind since 2026-10-15 | none known | - | [email protected] | - |
| FreeBSD | www/nginx-module-njs | 1.0.2 newest | none known | - | [email protected] | 2026-10-15 |
| HardenedBSD | www/nginx-module-njs | 1.0.2 newest | no data | - | [email protected] | - |
| GhostBSD | www/nginx-module-njs | 1.0.2 newest | no data | - | [email protected] | - |
Version history 1
- 1.0.1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install nginx-module-njs
From DPorts:
cd /usr/dports/www/nginx-module-njs && make install clean
Dependencies
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none