npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@theotherwillembotha/node-red-nginxproxymanager

v0.0.55

Published

Node-RED nodes for managing Nginx Proxy Manager hosts, built on node-red-plugincore.

Readme

@theotherwillembotha/node-red-nginxproxymanager

Node-RED nodes for managing Nginx Proxy Manager hosts directly from your flows. Built on @theotherwillembotha/node-red-plugincore.


[!IMPORTANT] This plugin requires @theotherwillembotha/node-red-plugincore to be installed.

node-red-plugincore is declared as a dependency and npm will install it automatically alongside this package. However, due to a known Node-RED limitation, packages that arrive as transitive npm dependencies are only discovered by the Node-RED runtime on the next startup.

You have two options:

  • Install @theotherwillembotha/node-red-plugincore via the palette manager or npm install first, then install this plugin — both will be available immediately without a restart.
  • Install this plugin directly — node-red-plugincore will be installed automatically alongside it. Restart Node-RED once and both packages will be fully loaded.

Installation

Either use the Manage Palette option in the Node-RED editor, or run the following in your Node-RED user directory (typically ~/.node-red):

npm install @theotherwillembotha/node-red-nginxproxymanager

Nodes

Nginx Proxy Manager Config

A config node that holds the connection details for an Nginx Proxy Manager instance. Referenced by all other nodes in this plugin.

Nginx Proxy Manager Config

| Field | Description | |----------|-------------| | Name | A descriptive label for this connection. | | URL | The base URL of the Nginx Proxy Manager admin API, including port (e.g. http://192.168.1.10:81). | | Email | The email address used to authenticate with Nginx Proxy Manager. | | Password | The password for the above account. |

This config node registers itself as a ReverseProxyType in the plugincore tag system. This means it will automatically appear in the reverse proxy selector of any webhook node that uses the WebhookTemplate from node-red-plugincore.


Nginx Update Host

Creates or updates a proxy host entry in Nginx Proxy Manager. The operation is determined by the presence of an id field in msg.payload:

  • No id — creates a new proxy host.
  • With id — updates the existing proxy host with that ID.

Inputs

: msg.payload (object) : The host configuration to create or update. See the payload schema below.

Outputs

: msg (object) : The original message, passed through unchanged after the operation completes.

Payload schema

Create a new host — all required fields must be present:

{
    domainNames: string[],        // The domain names to forward (each must be unique and not yet registered).
    scheme: "http" | "https",     // The forwarding scheme.
    forwardHost: string,          // The target host to forward requests to.
    forwardPort: number,          // The target port to forward requests to.
    accessList: string,           // The access list to bind to this host.
    cacheAssets: boolean,         // Optional: whether to cache assets.
    blockCommonExploits: boolean, // Optional: whether to block common exploits.
    websocketSupport: boolean,    // Optional: whether to enable WebSocket support.
}

Update an existing host — only include fields that should change:

{
    id: number,                   // Required: the ID of the proxy host to update.
    domainNames: string[],        // Optional.
    scheme: "http" | "https",     // Optional.
    forwardHost: string,          // Optional.
    forwardPort: number,          // Optional.
    accessList: string,           // Optional.
    cacheAssets: boolean,         // Optional.
    blockCommonExploits: boolean, // Optional.
    websocketSupport: boolean,    // Optional.
}

Example

{
    "domainNames": ["myservice.example.com"],
    "scheme": "http",
    "forwardHost": "192.168.1.35",
    "forwardPort": 8080,
    "blockCommonExploits": true,
    "websocketSupport": true
}

Nginx Get Hosts

Retrieves the full list of proxy hosts from Nginx Proxy Manager and writes them to a configurable property on the message.

Nginx Get Hosts Node

Properties

| Field | Description | |---------------|-------------| | Name | A descriptive label for the node. | | Proxy Manager | The Nginx Proxy Manager config node to use. | | Output | The message property to write the hosts array to. Defaults to msg.payload. |

Inputs

: msg (object) : Any message. The payload is not used; the output property is set on the incoming message and forwarded.

Outputs

: msg (object) : The original message with the specified output property set to an array of proxy host objects.

Output schema

[
    {
        id:          number,    // proxy host ID
        domainNames: string[],  // domain names served by this host
        scheme:      string,    // forwarding scheme: "http" or "https"
        forwardHost: string,    // target host
        forwardPort: number,    // target port
    }
]

Integration with node-red-plugincore

This plugin is built on @theotherwillembotha/node-red-plugincore and integrates with its subsystems:

  • Logging — all action nodes (Nginx Update Host, Nginx Get Hosts) accept a logger config node via the LoggerTemplate section in their editors, enabling structured log output to Console, REST, or Loki backends.
  • Metrics — all action nodes track request counts via the MetricsTemplate section, publishing Prometheus counters that can be scraped from the metrics endpoint.
  • Reverse Proxy — the Nginx Proxy Manager Config node registers itself as a ReverseProxyType. Any webhook node using WebhookTemplate will automatically list this config node in its reverse proxy selector, allowing Node-RED webhooks to be registered directly in Nginx Proxy Manager via a flow.

References

License

ISC