Socket
Socket
Sign inDemoInstall

simple-express-proxy

Package Overview
Dependencies
93
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    simple-express-proxy

simple_proxy_for_discord


Version published
Maintainers
1
Created

Readme

Source

simple-express-proxy🗜📡

This is simple express proxy web server using https protocol.

Following is simple guide and usage example for quick start.

  1. Install package in your application npm install simple-express-proxy
  2. Write code in your entry point code section
const createProxy = require("simple-express-proxy");
const fs = require("fs");

// https server security configuration
const  privateKey  =  fs.readFileSync('./secure/key.pem', 'utf-8');
const  certificate  =  fs.readFileSync('./secure/cert.pem', 'utf-8');

// proxy setup configuration
const passphrase = 'your custom password'; //security key
const target = 'https://google.com'; //target address to serve
const whitelist = ['0.0.0.0', '95.180.41.194']; // ip list to allow access to proxy service

// create proxy server
const proxy = createProxy(privateKey, certificate, passphrase, target, whitelist);

// host proxy
proxy.listen((port, host) => {
	console.log(`https proxy server is running on port ${port} and host ${host}`)
})

  1. Host your application . 💻
Contact to cyberstorm2007@gmail.com, enemymaycry2007@gmail.com to get more supports and utility packages

FAQs

Last updated on 27 Feb 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc