
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
proxy-manager-api
Advanced tools
Proxy-Manger-API is an API wrapper for https://nginxproxymanager.com/
Proxy-Manager-API is a simple API for managing Nginx Proxies Using https://nginxproxymanager.com.
npm install proxy-manager-api
yarn add proxy-manager-api
Login and Get all proxies. Then get the info of a certain domain proxied
const ProxyManager = require('proxy-manager-api');
const client = new ProxyManager.Client({
host: 'proxy.example.com',
email: 'admin@example.com',
password: 'admin'
});
client.connect().then(() => {
client.getProxies().then(proxies => {
console.log(proxies);
});
client.getProxy('proxied.example.com').then(proxy => {
console.log(proxy.ip);
});
});
If you want to proxy a new domain you can do it like this:
const ProxyManager = require('proxy-manager-api');
const client = new ProxyManager.Client({
host: 'proxy.example.com',
email: 'admin@example.com',
password: 'admin'
});
client.connect().then(() => {
client.proxy.createProxy({
domain: 'proxied.example.com',
ip: '0.0.0.0',
port: 8080,
ssl: true,
}).then(proxy => {
console.log(proxy);
})
});
If you want to proxy multiple domains to one ip and port you can do it like this:
const ProxyManager = require('proxy-manager-api');
const client = new ProxyManager.Client({
host: 'proxy.example.com',
email: 'admin@example.com',
password: 'admin'
});
client.connect().then(() => {
client.proxy.createProxy({
domain: ['proxied.example.com', 'proxied2.example.com'],
ip: '0.0.0.0',
port: 8080,
ssl: true,
}).then(proxy => {
console.log(proxy);
});
});
Docs Coming Soon.
This project is licensed under the MIT license. See the LICENSE file for details.
FAQs
Proxy-Manger-API is an API wrapper for https://nginxproxymanager.com/
We found that proxy-manager-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.