Nginx Proxy Manager
@lint/nginx-proxy-managerv2026.05.21.2
01README
Nginx Proxy Manager API wrapper — snapshot proxy hosts / redirection hosts / certificates, upsert proxy hosts idempotently (match by domain set), and delete proxy hosts by id.
02Release Notes
Adds upsertProxyHost (idempotent create/update; matches by exact set of domainNames) and deleteProxyHost (DELETE /api/nginx/proxy-hosts/{id}, non-throwing). New resources: upsert_result, delete_result. Defaults follow NPM UI sensible-defaults (block_exploits, allow_websocket_upgrade).
03Models
nginx-proxy-manager.tsv2026.05.21.2
fn sync()
Login to NPM and fetch proxy hosts, redirection hosts, certificates
fn upsertProxyHost(id: number)
Idempotently create or update an NPM proxy host. Matches by exact set of domainNames against /api/nginx/proxy-hosts; on match PUTs to /{id}, otherwise POSTs a new host. Records action (created vs updated) and resulting id in upsert_result.
| Argument | Type | Description |
|---|---|---|
| id | number | NPM proxy host id (numeric id from /api/nginx/proxy-hosts; surfaced as `inventory.proxyHosts[].id`) |
fn deleteProxyHost(id: number)
Delete an NPM proxy host by id via DELETE /api/nginx/proxy-hosts/{id}. Non-throwing on HTTP error — outcome lands in delete_result. Look up the id from inventory.proxyHosts first.
| Argument | Type | Description |
|---|---|---|
| id | number | NPM proxy host id (numeric id from /api/nginx/proxy-hosts; surfaced as `inventory.proxyHosts[].id`) |
04Previous Versions
2026.05.21.1May 21, 2026
05Stats
A
100 / 100
Downloads
6
Archive size
10.0 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels