Nginx Proxy Manager
by @mw-slc
Manage Nginx Proxy Manager (NPM) for reverse proxy and SSL termination to internal services like staging/prod apps. Use when creating/updating proxy hosts, r...
clawhub install nginx-proxy-managerπ About This Skill
name: nginx-proxy-manager description: Manage Nginx Proxy Manager (NPM) for reverse proxy and SSL termination to internal services like staging/prod apps. Use when creating/updating proxy hosts, requesting or renewing Let's Encrypt certificates, enforcing HTTPS redirects, setting websocket support, or routing domains/subdomains to target servers.
Nginx Proxy Manager Workflow
Use this skill to terminate SSL at NPM and route traffic to backend services (staging/prod).
Required inputs
staging.example.com)10.10.10.227:3000)Authentication (do not hardcode secrets)
Store credentials outside this skill (local secret file or environment variables).
Recommended env vars:
NPM_BASE_URL (e.g. http://:81 )NPM_IDENTITYNPM_SECRETExample token request:
curl -sS -X POST "$NPM_BASE_URL/api/tokens" \
-H 'Content-Type: application/json; charset=UTF-8' \
--data "{\"identity\":\"$NPM_IDENTITY\",\"secret\":\"$NPM_SECRET\"}"
Standard setup flow
1. Confirm DNS resolves to NPM public IP.
2. Create or update Proxy Host in NPM:
- Domain Names: requested host(s)
- Scheme: http (or https if upstream is TLS)
- Forward Hostname/IP: upstream IP/hostname
- Forward Port: app port
- Enable:
- Block Common Exploits
- Websockets Support
3. SSL tab:
- Request new SSL certificate (Let's Encrypt)
- Enable Force SSL
- Enable HTTP/2 Support
- Enable HSTS only after validation
4. Save and verify:
- curl -I https:// returns 200/301
- Browser check for valid certificate and app reachability
Recommended defaults
app.example.com β production
- staging.example.com β staging
Troubleshooting
Publication hygiene checklist
Before sharing/publishing this skill:
example.com and .