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

@pdkkid/n8n-nodes-nginx-proxy-manager

v1.0.7

Published

N8N nodes for Nginx Proxy Manager API integration

Readme

Nginx Proxy Manager - N8N Integration

This package provides N8N nodes for interacting with the Nginx Proxy Manager API, allowing you to automate proxy host management, user administration, and system monitoring directly from N8N workflows.

Features

  • Proxy Host Management: Create, read, update, and delete proxy hosts
  • User Management: Manage users, permissions, and authentication
  • Settings Management: Get and update system settings
  • Health Monitoring: Check API health status
  • Reporting: Get statistics about hosted services
  • Token Management: Automatic token handling with refresh support

Installation

  1. Copy this directory to your N8N custom nodes folder:

    cp -r n8n-nodes-nginx-proxy-manager ~/.n8n/nodes/
  2. Rebuild N8N:

    npm rebuild
  3. Restart N8N

Setup

1. Add Credentials

  1. In N8N, go to Credentials
  2. Click New and select Nginx Proxy Manager API
  3. Fill in the following:
    • API URL: Your Nginx Proxy Manager API base URL
    • Email: Your NPM login email
    • Password: Your NPM login password
    • Access Token (optional): If you already have a valid token, paste it here to skip credential-based auth

2. Use in Workflows

Add the "Nginx Proxy Manager" node to any workflow and select from the available operations.

Available Operations

Health

  • Get Status: Check if the API is healthy

Proxy Hosts

  • Get All: Retrieve all proxy hosts (supports expansion of related data)
  • Get: Retrieve a specific proxy host by ID
  • Create: Create a new proxy host
  • Update: Update an existing proxy host
  • Delete: Delete a proxy host

Proxy Host Fields:

  • Domain Names (required)
  • Forward Host (required) - IP or hostname
  • Forward Port (required)
  • Forward Scheme - HTTP or HTTPS
  • SSL Forced
  • Caching Enabled
  • Block Exploits
  • Allow Websocket Upgrade
  • HTTP/2 Support
  • HSTS Enabled
  • HSTS Subdomains
  • Advanced Nginx Config

Users

  • Get All: Retrieve all users (with optional permissions expansion)
  • Get: Get a specific user
  • Create: Create a new user
  • Update: Update user details
  • Delete: Delete a user
  • Update Auth: Change user password
  • Update Permissions: Set user permissions for different resources

Permission Levels:

  • hidden - User cannot see the resource
  • view - User can view but not modify
  • manage - User has full control

Visibility Levels:

  • all - User can see all items
  • user - User can only see their own items

Settings

  • Get All: Retrieve all system settings
  • Get: Get a specific setting
  • Update: Update a setting value

Common Settings:

  • default-site - What to show for unknown hosts

Reports

  • Get Hosts Report: Get statistics about proxy hosts, redirections, streams, and dead hosts

Tokens

  • Get New Token: Request a new access token from credentials
  • Refresh Token: Refresh an existing token

Examples

Create a Proxy Host

{
  "resource": "proxyHost",
  "operation": "create",
  "domainNames": "example.com,www.example.com",
  "forwardHost": "192.168.1.100",
  "forwardPort": 8080,
  "forwardScheme": "http",
  "enabled": true,
  "sslForced": false,
  "blockExploits": true
}

Get All Proxy Hosts with Details

{
  "resource": "proxyHost",
  "operation": "getAll",
  "expand": "owner"
}

Create a New User

{
  "resource": "user",
  "operation": "create",
  "email": "[email protected]",
  "name": "New User",
  "nickname": "New",
  "roles": ["user"]
}

Update User Permissions

{
  "resource": "user",
  "operation": "updatePermissions",
  "userId": 2,
  "visibility": "all",
  "proxyHostsPermission": "manage"
}

Check System Health

{
  "resource": "health",
  "operation": "getStatus"
}

Get Statistics

{
  "resource": "report",
  "operation": "getHostsReport"
}

API Expansion Options

Some operations support expanding related data:

  • access_list - Include access list information
  • owner - Include owner/user information
  • certificate - Include SSL certificate information
  • permissions - Include user permission details

Error Handling

The nodes will return detailed error messages from the API. Common errors include:

  • 401 Unauthorized: Invalid credentials or expired token
  • 404 Not Found: Resource doesn't exist
  • 400 Bad Request: Invalid parameters
  • 409 Conflict: Resource conflict (e.g., duplicate domain)

Rate Limiting

The Nginx Proxy Manager API doesn't have explicit rate limits, but it's recommended to add delays between requests if making bulk operations.

Troubleshooting

"No credentials provided"

Make sure you've added the Nginx Proxy Manager API credentials and selected them in the node.

"401 Unauthorized"

Verify your email and password are correct. The token may have expired - try refreshing or re-authenticating.

"Domain already in use"

The domain name is already configured for another proxy host. Remove it from the existing host first.

"Nginx configuration error"

Check your advanced configuration syntax. Invalid Nginx directives will prevent the host from being enabled.

Support

For issues with the integration, check:

License

MIT

Changelog

v1.0.0

  • Initial release
  • Full support for proxy hosts, users, settings, and tokens
  • Health monitoring and reporting endpoints